diff options
author | Vipul Pandya <vipul.pandya@samsung.com> | 2014-03-25 12:10:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-03-26 16:49:31 -0400 |
commit | 1051125d8d57b6ff074d450c10ccbe0e39856456 (patch) | |
tree | 137e9893fe6f39774b4680056225248c1b6f9fac /drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h | |
parent | acc18c147b2281ff85f93862eb8c768df1bfb7df (diff) | |
download | linux-1051125d8d57b6ff074d450c10ccbe0e39856456.tar.bz2 |
net: sxgbe: add TSO support for Samsung sxgbe
Enable TSO during initialization for each DMA channels
Signed-off-by: Vipul Pandya <vipul.pandya@samsung.com>
Neatening-by: Joe Perches <joe@perches.com>
Signed-off-by: Byungho An <bh74.an@samsung.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h')
-rw-r--r-- | drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h index bbf167efb60c..1607b54c9bb0 100644 --- a/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h +++ b/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h @@ -41,6 +41,8 @@ struct sxgbe_dma_ops { struct sxgbe_extra_stats *x); /* Program the HW RX Watchdog */ void (*rx_watchdog)(void __iomem *ioaddr, u32 riwt); + /* Enable TSO for each DMA channel */ + void (*enable_tso)(void __iomem *ioaddr, u8 chan_num); }; const struct sxgbe_dma_ops *sxgbe_get_dma_ops(void); |