Re: [PATCH v2 2/4] net: emac: implement TCP segmentation offload (TSO)

2018-10-22 Thread David Miller
From: Christian Lamparter Date: Mon, 22 Oct 2018 13:04:12 +0200 > @@ -1452,8 +1509,49 @@ static inline u16 emac_tx_vlan(struct emac_instance > *dev, struct sk_buff *skb) > return 0; > } > > +static netdev_tx_t > +emac_start_xmit_sg(struct sk_buff *skb, struct net_device *ndev); > + > +s

[PATCH v2 2/4] net: emac: implement TCP segmentation offload (TSO)

2018-10-22 Thread Christian Lamparter
This patch enables TSO(v4) hw feature for emac driver. As atleast the APM82181's TCP/IP acceleration hardware controller (TAH) provides TCP segmentation support in the transmit path. Signed-off-by: Christian Lamparter --- drivers/net/ethernet/ibm/emac/core.c | 113 ++- dr