summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
diff options
context:
space:
mode:
authorPrasad Kanneganti <prasad.kanneganti@cavium.com>2017-06-18 14:04:11 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-19 05:55:46 +0200
commitc4ee5d8103ed78502170e9f0c22dc31cb335c412 (patch)
tree0218151c40f354ff3af4312bc5fac942cb20171c /drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c
parentpptp: Remove unused variable in pptp_release() (diff)
downloadlinux-c4ee5d8103ed78502170e9f0c22dc31cb335c412.tar.xz
linux-c4ee5d8103ed78502170e9f0c22dc31cb335c412.zip
liquidio: replace info-pointer mode with buffer-pointer-only mode
Each Octeon output ring can DMA packets to host memory in two modes: info- pointer mode and buffer-pointer-only mode. In info-pointer mode, Octeon takes two buffer pointers for each packet and places the length of the packet along with specified number of bytes from the beginning of the packet into one buffer and the rest of the packet in a separate buffer. In buffer-pointer-only mode, Octeon takes single buffer pointer and places the length of the packet at the beginning of the buffer followed by the packet data. This patch switches all Octeon output rings from info-pointer mode to buffer-pointer-only mode. This results in fewer DMA setups and cache line snoops. Signed-off-by: Prasad Kanneganti <pkanneganti@cavium.com> Signed-off-by: Derek Chickles <derek.chickles@cavium.com> Signed-off-by: Satanand Burla <satananda.burla@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c')
0 files changed, 0 insertions, 0 deletions