From f19abdf1d21957bc6816d8fbd26411fd3877dcb6 Mon Sep 17 00:00:00 2001
From: Eric Kooistra <kooistra@astron.nl>
Date: Fri, 28 Oct 2022 05:08:30 +0200
Subject: [PATCH] Account for word_align field size in
 c_eth_tester_eth_packet_len_max.

---
 libraries/io/eth/src/vhdl/eth_tester_pkg.vhd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libraries/io/eth/src/vhdl/eth_tester_pkg.vhd b/libraries/io/eth/src/vhdl/eth_tester_pkg.vhd
index 4c71470bc9..64a0e4e8ec 100644
--- a/libraries/io/eth/src/vhdl/eth_tester_pkg.vhd
+++ b/libraries/io/eth/src/vhdl/eth_tester_pkg.vhd
@@ -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_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:
   -- . 0 = data path controlled, value is set in data path, so field_default()
-- 
GitLab