> -----Original Message-----
> From: Zhang,Alvin <alvinx.zh...@intel.com>
> Sent: Tuesday, January 19, 2021 1:26 PM
> To: Zhang, Qi Z <qi.z.zh...@intel.com>
> Cc: dev@dpdk.org; Zhang, AlvinX <alvinx.zh...@intel.com>; sta...@dpdk.org
> Subject: [PATCH v7] net/ixgbe: fix configuration of max frame size
>
> From: Alvin Zhang <alvinx.zh...@intel.com>
>
> For some types of NIC, jumbo frame is not supported in IOV mode, so if a VF
> requests to configure the frame size to not bigger than IXGBE_ETH_MAX_LEN,
> the kernel driver returns 0, but the DPDK ixgbe PMD returens -1, this will
> cause
> the VF to fail to start when the PF driven by DPDK ixgbe PMD.
>
> This patch keeps ixgbe PMD's handling mode consistent with kernel driver in
> above situation.
>
> In addition, the value set by the command IXGBE_VF_SET_LPE represents the
> max frame size, not the mtu.
>
> Fixes: 1b9ea09c067b ("ixgbe: support X550")
> Fixes: 95a27b3ba5f5 ("net/ixgbe: enable jumbo frame for VF")
> Cc: sta...@dpdk.org
>
> Signed-off-by: Alvin Zhang <alvinx.zh...@intel.com>
Applied to dpdk-next-net-intel.
Thanks
Qi