]> xenbits.xensource.com Git - people/pauldu/xennet.git/commit
Avoid lock contention between receiving CPUs
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 19 May 2016 11:28:04 +0000 (12:28 +0100)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 19 May 2016 11:32:14 +0000 (12:32 +0100)
commit8cb5c1560a473c98b64db0fb7e56a60f4d477c61
tree8167fac5c7ad1b99d9abb949368561e5cad7ea9c
parent67523f02ec53f86ba6522da8ba0734354fda2382
Avoid lock contention between receiving CPUs

The single PutList/GetList for cached NET_BUFFER_LIST structures is
currently a point of contention. This patch gets rid of the contention
by keeping per-CPU GetLists.

To access the definition of HVM_MAX_VCPUS, the hvm_info_table.h header
needs to be pulled in the from the Xen source base. This patch therefore
adds the infrastructure for pulling in Xen headers.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
14 files changed:
get_xen_headers.py [new file with mode: 0644]
include/xen-types.h [new file with mode: 0644]
include/xen-version.h [new file with mode: 0644]
include/xen-warnings.h [new file with mode: 0644]
include/xen.h [new file with mode: 0644]
include/xen/public/arch-x86/xen-x86_32.h [new file with mode: 0644]
include/xen/public/arch-x86/xen-x86_64.h [new file with mode: 0644]
include/xen/public/arch-x86/xen.h [new file with mode: 0644]
include/xen/public/hvm/hvm_info_table.h [new file with mode: 0644]
include/xen/public/xen-compat.h [new file with mode: 0644]
include/xen/public/xen.h [new file with mode: 0644]
src/xennet/receiver.c
vs2012/xennet/xennet.vcxproj
vs2013/xennet/xennet.vcxproj