> -----Original Message----- > From: Zhang, AlvinX <alvinx.zh...@intel.com> > Sent: Thursday, April 8, 2021 15:41 > To: Wang, Haiyue <haiyue.w...@intel.com>; Guo, Jia <jia....@intel.com> > Cc: dev@dpdk.org; Zhang, AlvinX <alvinx.zh...@intel.com>; sta...@dpdk.org > Subject: [PATCH v2] net/e1000: fix max Rx packet size > > According to E1000_ETH_OVERHEAD definition, max_rx_pkt_len contains > one VLAN tag size. Therefore when config RLPML register, if dual VLAN > not enabled there is no need to add VLAN tag size to max_rx_pkt_len, > otherwise only one another VLAN tag size should be added to. > > Fixes: e51abef39382 ("igb: fix max RX packet size and support dual VLAN") > Cc: sta...@dpdk.org > > Signed-off-by: Alvin Zhang <alvinx.zh...@intel.com> > --- > > V2: Update commit log > --- > drivers/net/e1000/igb_ethdev.c | 5 ++--- > drivers/net/e1000/igb_rxtx.c | 9 ++++++--- > 2 files changed, 8 insertions(+), 6 deletions(-) >
Acked-by: Haiyue Wang <haiyue.w...@intel.com> > 1.8.3.1