RE: [PATCH net-next v5 4/5] bnx2x: Use NETIF_F_GRO_HW.

2017-12-17 Thread Chopra, Manish
linu...@cavium.com> > Subject: [PATCH net-next v5 4/5] bnx2x: Use NETIF_F_GRO_HW. > > Advertise NETIF_F_GRO_HW and turn on TPA_MODE_GRO when > NETIF_F_GRO_HW is set. Disable NETIF_F_GRO_HW in bnx2x_fix_features() if > the MTU does not support TPA_MODE_GRO or GRO is not set. > b

[PATCH net-next v5 4/5] bnx2x: Use NETIF_F_GRO_HW.

2017-12-16 Thread Michael Chan
Advertise NETIF_F_GRO_HW and turn on TPA_MODE_GRO when NETIF_F_GRO_HW is set. Disable NETIF_F_GRO_HW in bnx2x_fix_features() if the MTU does not support TPA_MODE_GRO or GRO is not set. bnx2x_change_mtu() also needs to disable NETIF_F_GRO_HW if the MTU does not support it. Original parameter disa