> -----Original Message----- > From: Zhang,Alvin <alvinx.zh...@intel.com> > Sent: Wednesday, December 2, 2020 17:48 > To: Guo, Jia <jia....@intel.com>; Wang, Haiyue <haiyue.w...@intel.com> > Cc: dev@dpdk.org; Zhang, AlvinX <alvinx.zh...@intel.com>; sta...@dpdk.org > Subject: [PATCH] net/ixgbe: check the result of setting VF MTU > > From: Alvin Zhang <alvinx.zh...@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.zh...@intel.com> > > Fixes: 12cd0cccc3db ("ixgbevf: allow to set MTU") > Cc: sta...@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.w...@intel.com> > -- > 1.8.3.1