No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Sunil Goutham 773225388d net: thunderx: Optimize page recycling for XDP
Driver follows a method of taking one extra reference on the
page for recycling which is fine in usual packet path where
each 64KB page is segmented into multiple receive buffers.

But in XDP mode since there is just one receive buffer per
page taking extra page reference itself becomes big bottleneck
consuming ~50% of CPU cycles due to atomic operations.

This patch adds a internal ref count in pgcache for each
page and additional page references are taken in a batch
instead of just one at a time. Internal i.e 'pgcache->ref_count'
and page's i.e 'page->_refcount' counters are compared to check
page's recyclability.

Signed-off-by: Sunil Goutham <sgoutham@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-05-02 15:41:22 -04:00
arch bpf, arm64: fix jit branch offset related to ldimm64 2017-05-02 15:04:50 -04:00
block
certs
crypto
Documentation switchdev: documentation: fix whitespace issues 2017-05-01 13:52:43 -04:00
drivers net: thunderx: Optimize page recycling for XDP 2017-05-02 15:41:22 -04:00
firmware
fs
include net: sched: add helpers to handle extended actions 2017-05-02 15:33:54 -04:00
init
ipc
kernel
lib bpf, arm64: fix jit branch offset related to ldimm64 2017-05-02 15:04:50 -04:00
mm
net ipx: call ipxitf_put() in ioctl error path 2017-05-02 15:34:53 -04:00
samples bpf, samples: fix build warning in cookie_uid_helper_example 2017-05-02 09:29:35 -04:00
scripts
security
sound
tools selftests: bpf: Use bpf_endian.h in test_xdp.c 2017-05-02 07:52:01 -07:00
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.