Re: [PATCH net-next v2 5/5] qede: Use NETIF_F_GRO_HW.

2017-12-08 Thread Michael Chan
On Fri, Dec 8, 2017 at 2:09 PM, Marcelo Ricardo Leitner wrote: > Hi, > > On Thu, Dec 07, 2017 at 03:03:35AM -0500, Michael Chan wrote: >> --- a/drivers/net/ethernet/qlogic/qede/qede_ethtool.c >> +++ b/drivers/net/ethernet/qlogic/qede/qede_ethtool.c >> @@ -940,6 +940,9

Re: [PATCH net-next v2 5/5] qede: Use NETIF_F_GRO_HW.

2017-12-08 Thread Marcelo Ricardo Leitner
Hi, On Thu, Dec 07, 2017 at 03:03:35AM -0500, Michael Chan wrote: > --- a/drivers/net/ethernet/qlogic/qede/qede_ethtool.c > +++ b/drivers/net/ethernet/qlogic/qede/qede_ethtool.c > @@ -940,6 +940,9 @@ int qede_change_mtu(struct net_device *ndev, int new_mtu) > DP_VERBOSE(edev,

RE: [PATCH net-next v2 5/5] qede: Use NETIF_F_GRO_HW.

2017-12-08 Thread Chopra, Manish
ept-Eng Everest Linux L2 engeverestlinu...@cavium.com> > Subject: [PATCH net-next v2 5/5] qede: Use NETIF_F_GRO_HW. > > Advertise NETIF_F_GRO_HW and set edev->gro_disable according to the feature > flag. Add qede_fix_features() to drop NETIF_F_GRO_HW if XDP is running or > MTU does not s

[PATCH net-next v2 5/5] qede: Use NETIF_F_GRO_HW.

2017-12-07 Thread Michael Chan
Advertise NETIF_F_GRO_HW and set edev->gro_disable according to the feature flag. Add qede_fix_features() to drop NETIF_F_GRO_HW if XDP is running or MTU does not support GRO_HW. qede_change_mtu() also checks and disables GRO_HW if MTU is not supported. Cc: Ariel Elior