[PATCH 0/5] Add SRIOV Support
Jef Oliver
jef.oliver at intel.com
Tue Nov 1 13:01:35 PDT 2016
This patch series adds support for parsing SRIOV VF information
in a link request reply, reading and setting SRIOV VF information
in a link object, and appending SRIOV VF infomration to a link
change request.
SRIOV VF information will only be available on link objects of
type AF_UNSPEC.
As SRIOV VFs are an extenstion to the standard link and netlink
APIs, SRIOV functionality is appended to standard link parsing
and appending operations, and all getters/setters are isolated
into their own source and header files.
Functionality was tested on Intel 1G, 10G, and 40G adapters.
Expectations of input and output were compared to currently
working iproute2 packages.
Not all manufacturers support all functionality. Operations on
hardware that does not support a feature will return -NLE_INVAL
or -NLE_OPNOTSUPP.
Functionality takes into account multiple versions of Rate
Limiting and VLAN operations supported by the kernel, and is
documented accordingly.
Jef Oliver (5):
lib/route: SRIOV Parse and Read support
lib/route: SRIOV Clone Support
lib/route: SRIOV Utility Functions
lib/route: SRIOV Info Dump Functions
lib/route: SRIOV Set Functionality
include/Makefile.am | 2 +
include/linux-private/linux/if_ether.h | 1 +
include/linux-private/linux/if_link.h | 44 +
include/netlink-private/route/link/sriov.h | 34 +
include/netlink-private/types.h | 23 +
include/netlink/route/link.h | 4 +
include/netlink/route/link/sriov.h | 144 +++
lib/Makefile.am | 2 +-
lib/route/link.c | 52 +
lib/route/link/sriov.c | 1457 ++++++++++++++++++++++++++++
libnl-route-3.sym | 41 +
11 files changed, 1803 insertions(+), 1 deletion(-)
create mode 100644 include/netlink-private/route/link/sriov.h
create mode 100644 include/netlink/route/link/sriov.h
create mode 100644 lib/route/link/sriov.c
--
2.10.1
More information about the libnl
mailing list