#ifndef _LINUX_NETDEV_RX_QUEUE_H
#define _LINUX_NETDEV_RX_QUEUE_H
#include <linux/kobject.h>
#include <linux/netdevice.h>
#include <linux/sysfs.h>
#include <net/xdp.h>
#include <net/page_pool/types.h>
struct netdev_rx_queue { … } ____cacheline_aligned_in_smp;
struct rx_queue_attribute { … };
static inline struct netdev_rx_queue *
__netif_get_rx_queue(struct net_device *dev, unsigned int rxq)
{ … }
static inline unsigned int
get_netdev_rx_queue_index(struct netdev_rx_queue *queue)
{ … }
int netdev_rx_queue_restart(struct net_device *dev, unsigned int rxq);
#endif