Skip to content
Snippets Groups Projects
Commit f19abdf1 authored by Eric Kooistra's avatar Eric Kooistra
Browse files

Account for word_align field size in c_eth_tester_eth_packet_len_max.

parent 46a9ffa2
No related branches found
No related tags found
1 merge request!288Resolve L2SDP-836
...@@ -35,7 +35,7 @@ PACKAGE eth_tester_pkg is ...@@ -35,7 +35,7 @@ PACKAGE eth_tester_pkg is
CONSTANT c_eth_tester_bg_block_len_max : NATURAL := c_network_eth_payload_jumbo_max; -- 9000 octets CONSTANT c_eth_tester_bg_block_len_max : NATURAL := c_network_eth_payload_jumbo_max; -- 9000 octets
CONSTANT c_eth_tester_rx_block_len_max : NATURAL := c_network_eth_payload_jumbo_max + c_network_eth_crc_len; -- 9004 octets CONSTANT c_eth_tester_rx_block_len_max : NATURAL := c_network_eth_payload_jumbo_max + c_network_eth_crc_len; -- 9004 octets
CONSTANT c_eth_tester_eth_packet_len_max : NATURAL := c_network_eth_frame_jumbo_max; -- 9018 octets = 14 header + 9000 + 4 crc CONSTANT c_eth_tester_eth_packet_len_max : NATURAL := c_network_eth_word_align_len + c_network_eth_frame_jumbo_max; -- 9020 octets = 2 word align + 14 header + 9000 + 4 crc
-- hdr_field_sel bit selects where the hdr_field value is set: -- hdr_field_sel bit selects where the hdr_field value is set:
-- . 0 = data path controlled, value is set in data path, so field_default() -- . 0 = data path controlled, value is set in data path, so field_default()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment