Netdev 0x17 venue
Vancouver, Canada
Previous editions
Fosstodon
NETDEV VIDEOS
Session
Netlink APIs to Expose/Configure Netdev Objects
Speakers
Amritha Nambiar
Sridhar Samudrala
Label
Nuts and Bolts
Session Type
Talk
Contents
Description
Netlink protocol specifications in YAML with genetlink family has now been widely used for subsystems such as devlink, ethtool, DPLL, FOU etc. The introduction of a genetlink spec-compatible family (netdev-genl) for netdevices has made it possible to have a truly generic netlink interface to configure netdev objects. Currently, the netdev-genl interface is used to expose the XDP features supported by a NIC. In this paper, we will discuss extending the netdev-genl interface to support additional netdev objects such as queue and NAPI.
Queues as netlink objects enables exposing per queue attributes (example, NAPI instance servicing the queue, stats, memory model etc.). This could be followed up with commands such as get/set/create queues etc. for multiple usecases (RSS context handling, Rx zerocopy, XDP).
NAPI instance as netlink object can be used to export NAPI information supported by the device. Exposing NAPI attributes (such as NAPI id, NAPI device, interrupt number associated with the NAPI instance, PID of the NAPI thread) to the userspace serves multiple usecases. Example, adjusting the NAPI thread priorities and SMP affinity. Additionally, one could also configure NAPI pollers to queues from the userspace. This could be used to limit the number of NAPI instances by configuring a poller to be shared among queues that are on an interrupt vector.
Recent News
Group Booking Discount at Paradox Hotel
[Mon, 16, Oct. 2023]
Bronze Sponsor, Relianoid
[Fri, 06, Oct. 2023]
Registration is now Open
[Mon, 18, Sep. 2023]
Bronze Sponsor, NVIDIA
[Fri, 15, Sep. 2023]
Silver Sponsor, Intel®
[Tue, 12, Sep. 2023]
Important Dates
Closing of CFS | Aug 27th, 2023 |
Notification by | Sep 15th, 2023 |
Conference dates | Oct 30th - Nov 3rd, 2023 |