aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/veth.c
diff options
context:
space:
mode:
authorBjörn Töpel <bjorn.topel@intel.com>2018-08-28 14:44:30 +0200
committerAlexei Starovoitov <ast@kernel.org>2018-08-29 12:25:53 -0700
commit6d7aad1da2791cc0863a5b8068dcdb8c7536519d (patch)
tree9eb8167532ae2aca433d11203bd47f239ffc7d39 /drivers/net/veth.c
parenti40e: added queue pair disable/enable functions (diff)
downloadlinux-dev-6d7aad1da2791cc0863a5b8068dcdb8c7536519d.tar.xz
linux-dev-6d7aad1da2791cc0863a5b8068dcdb8c7536519d.zip
i40e: refactor Rx path for re-use
In this commit, the Rx path is refactored some, as a step torwards the introduction AF_XDP Rx zero-copy. The page re-use counter is moved into the i40e_reuse_rx_page, instead of bumping the counter in many places. The Rx buffer page clearing is moved for better readability. Lastely, functions to update statistics and bump the XDP Tx ring are introduced. Signed-off-by: Björn Töpel <bjorn.topel@intel.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/veth.c')
0 files changed, 0 insertions, 0 deletions