summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h
diff options
context:
space:
mode:
authorVipul Pandya <vipul.pandya@samsung.com>2014-03-25 12:10:57 -0700
committerDavid S. Miller <davem@davemloft.net>2014-03-26 16:49:31 -0400
commit1051125d8d57b6ff074d450c10ccbe0e39856456 (patch)
tree137e9893fe6f39774b4680056225248c1b6f9fac /drivers/net/ethernet/samsung/sxgbe/sxgbe_dma.h
parentacc18c147b2281ff85f93862eb8c768df1bfb7df (diff)
downloadlinux-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.h2
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);