[dpdk-dev] [PATCH] net/ixgbe: check the result of setting VF MTU
Wang, Haiyue
haiyue.wang at intel.com
Wed Dec 2 11:54:36 CET 2020
> -----Original Message-----
> From: Zhang,Alvin <alvinx.zhang at intel.com>
> Sent: Wednesday, December 2, 2020 17:48
> To: Guo, Jia <jia.guo at intel.com>; Wang, Haiyue <haiyue.wang at intel.com>
> Cc: dev at dpdk.org; Zhang, AlvinX <alvinx.zhang at intel.com>; stable at dpdk.org
> Subject: [PATCH] net/ixgbe: check the result of setting VF MTU
>
> From: Alvin Zhang <alvinx.zhang at intel.com>
>
> If a VF request to set a invalid maximum packet length value,
> The PF kernel driver may disable its reception.
>
> This patch add codes to output information and return the error status.
>
> Signed-off-by: Alvin Zhang <alvinx.zhang at intel.com>
>
> Fixes: 12cd0cccc3db ("ixgbevf: allow to set MTU")
> Cc: stable at dpdk.org
> ---
> drivers/net/ixgbe/ixgbe_ethdev.c | 3 ++-
> drivers/net/ixgbe/ixgbe_rxtx.c | 8 ++++++--
> 2 files changed, 8 insertions(+), 3 deletions(-)
>
Acked-by: Haiyue Wang <haiyue.wang at intel.com>
> --
> 1.8.3.1
More information about the dev
mailing list