From: David Wei Add ndo_queue_create() to netdev_queue_mgmt_ops that will create a new rxq specifically for mapping to a real rxq. The intent is for only virtual netdevs i.e. netkit and veth to implement this ndo. This will be called from ynl netdev fam bind-queue op to atomically create a mapped rxq and bind it to a real rxq. Signed-off-by: David Wei Co-developed-by: Daniel Borkmann Signed-off-by: Daniel Borkmann --- include/net/netdev_queues.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/net/netdev_queues.h b/include/net/netdev_queues.h index cd00e0406cf4..6b0d2416728d 100644 --- a/include/net/netdev_queues.h +++ b/include/net/netdev_queues.h @@ -149,6 +149,7 @@ struct netdev_queue_mgmt_ops { int idx); struct device * (*ndo_queue_get_dma_dev)(struct net_device *dev, int idx); + int (*ndo_queue_create)(struct net_device *dev); }; bool netif_rxq_has_unreadable_mp(struct net_device *dev, int idx); -- 2.43.0