Lines Matching defs:xdp_sock
48 struct xdp_sock { struct
50 struct sock sk;
51 struct xsk_queue *rx ____cacheline_aligned_in_smp;
52 struct net_device *dev;
53 struct xdp_umem *umem;
54 struct list_head flush_node;
55 struct xsk_buff_pool *pool;
56 u16 queue_id;
57 bool zc;
58 bool sg;
59 enum {
63 } state;
65 struct xsk_queue *tx ____cacheline_aligned_in_smp;
66 struct list_head tx_list;
72 u32 tx_budget_spent;
75 spinlock_t rx_lock;
78 u64 rx_dropped;
79 u64 rx_queue_full;
85 struct sk_buff *skb;
87 struct list_head map_list;
89 spinlock_t map_list_lock;
91 struct mutex mutex;
92 struct xsk_queue *fq_tmp; /* Only as tmp storage before bind */
93 struct xsk_queue *cq_tmp; /* Only as tmp storage before bind */