[PATCH RFC 1/4] netlink: specs: Add XDP RX queue index to XDP metadata

Mehdi Ben Hadj Khelifa
2025-09-23T20:00:47Z

Devices will be able to communicate received packets
queue index with bpf_xdp_metadata_rx_queue_index().

Signed-off-by: Mehdi Ben Hadj Khelifa <mehdi.benhadjkhelifa@gmail.com>
---
Documentation/netlink/specs/netdev.yaml | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/Documentation/netlink/specs/netdev.yaml b/Documentation/netlink/specs/netdev.yaml
index c035dc0f64fd..25fe17ea1625 100644
--- a/Documentation/netlink/specs/netdev.yaml
+++ b/Documentation/netlink/specs/netdev.yaml
@@ -61,6 +61,11 @@ definitions:
doc: |
Device is capable of exposing receive packet VLAN tag via
bpf_xdp_metadata_rx_vlan_tag().
+ -
+ name: queue-index
+ doc: |
+ Device is capable of exposing receive packet queue index via
+ bpf_xdp_metadata_rx_queue_index().
-
type: flags
name: xsk-flags
--
2.51.0