| Subject | Re: [PATCH net-next 08/12] r8152: support TSO | From | Eric Dumazet <> | Date | Tue, 04 Mar 2014 08:52:09 -0800 |
| |
On Tue, 2014-03-04 at 20:01 +0800, Hayes Wang wrote: > Support scatter gather and TSO.
> > - netdev->features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM; > - netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM; > + netdev->features |= NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG | > + NETIF_F_TSO; > + netdev->hw_features = NETIF_F_RXCSUM | NETIF_F_IP_CSUM | NETIF_F_SG | > + NETIF_F_TSO; >
Minor nit :
If you use skb_copy_bits(), then you also can add NETIF_F_FRAGLIST here.
|