> -----Original Message----- > From: Zhang,Alvin <[email protected]> > Sent: Wednesday, December 2, 2020 17:48 > To: Guo, Jia <[email protected]>; Wang, Haiyue <[email protected]> > Cc: [email protected]; Zhang, AlvinX <[email protected]>; [email protected] > Subject: [PATCH] net/ixgbe: check the result of setting VF MTU > > From: Alvin Zhang <[email protected]> > > 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 <[email protected]> > > Fixes: 12cd0cccc3db ("ixgbevf: allow to set MTU") > Cc: [email protected] > --- > 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 <[email protected]> > -- > 1.8.3.1

