[dpdk-dev] [PATCH v2] net/e1000: fix max Rx packet size
Wang, Haiyue
haiyue.wang at intel.com
Fri Apr 9 02:58:43 CEST 2021
> -----Original Message-----
> From: Zhang, AlvinX <alvinx.zhang at intel.com>
> Sent: Thursday, April 8, 2021 15:41
> To: Wang, Haiyue <haiyue.wang at intel.com>; Guo, Jia <jia.guo at intel.com>
> Cc: dev at dpdk.org; Zhang, AlvinX <alvinx.zhang at intel.com>; stable at 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: stable at dpdk.org
>
> Signed-off-by: Alvin Zhang <alvinx.zhang at 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.wang at intel.com>
> 1.8.3.1
More information about the dev
mailing list