> -----Original Message----- > From: Zhang, AlvinX <[email protected]> > Sent: Thursday, April 8, 2021 15:41 > To: Wang, Haiyue <[email protected]>; Guo, Jia <[email protected]> > Cc: [email protected]; Zhang, AlvinX <[email protected]>; [email protected] > 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: [email protected] > > Signed-off-by: Alvin Zhang <[email protected]> > --- > > 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 <[email protected]> > 1.8.3.1

