PATH:
usr
/
src
/
kernels
/
5.14.0-611.49.1.el9_7.x86_64
/
include
/
net
/* SPDX-License-Identifier: GPL-2.0 */ #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> /* This structure contains an instance of an RX queue. */ struct netdev_rx_queue { struct xdp_rxq_info xdp_rxq, RH_KABI_XDP_RXQ_MAX_LONGS; #ifdef CONFIG_RPS struct rps_map __rcu *rps_map; struct rps_dev_flow_table __rcu *rps_flow_table; #endif struct kobject kobj; struct net_device *dev; netdevice_tracker dev_tracker; #ifdef CONFIG_XDP_SOCKETS struct xsk_buff_pool *pool; #endif /* NAPI instance for the queue * Readers and writers must hold RTNL */ struct napi_struct *napi; RH_KABI_RESERVE(1) RH_KABI_RESERVE(2) RH_KABI_RESERVE(3) RH_KABI_RESERVE(4) RH_KABI_RESERVE(5) RH_KABI_RESERVE(6) RH_KABI_RESERVE(7) RH_KABI_RESERVE(8) } ____cacheline_aligned_in_smp; /* * RX queue sysfs structures and functions. */ struct rx_queue_attribute { struct attribute attr; ssize_t (*show)(struct netdev_rx_queue *queue, char *buf); ssize_t (*store)(struct netdev_rx_queue *queue, const char *buf, size_t len); }; static inline struct netdev_rx_queue * __netif_get_rx_queue(struct net_device *dev, unsigned int rxq) { return dev->_rx + rxq; } #ifdef CONFIG_SYSFS static inline unsigned int get_netdev_rx_queue_index(struct netdev_rx_queue *queue) { struct net_device *dev = queue->dev; int index = queue - dev->_rx; BUG_ON(index >= dev->num_rx_queues); return index; } #endif #endif
[+]
..
[-] ipcomp.h
[edit]
[-] mac80211.h
[edit]
[-] switchdev.h
[edit]
[-] psample.h
[edit]
[-] xdp_sock.h
[edit]
[-] xdp.h
[edit]
[-] llc_c_ac.h
[edit]
[-] af_ieee802154.h
[edit]
[-] hwbm.h
[edit]
[-] netrom.h
[edit]
[-] af_rxrpc.h
[edit]
[-] xsk_buff_pool.h
[edit]
[-] bonding.h
[edit]
[+]
page_pool
[-] nl802154.h
[edit]
[-] fq_impl.h
[edit]
[-] dropreason-core.h
[edit]
[-] rsi_91x.h
[edit]
[+]
netfilter
[-] codel_impl.h
[edit]
[-] calipso.h
[edit]
[-] llc_sap.h
[edit]
[+]
caif
[-] xdp_priv.h
[edit]
[-] af_unix.h
[edit]
[-] rtnetlink.h
[edit]
[-] inet_common.h
[edit]
[-] if_inet6.h
[edit]
[-] ah.h
[edit]
[-] netevent.h
[edit]
[-] pkt_sched.h
[edit]
[-] route.h
[edit]
[-] ieee80211_radiotap.h
[edit]
[-] bond_options.h
[edit]
[-] l3mdev.h
[edit]
[-] devlink.h
[edit]
[-] fib_notifier.h
[edit]
[-] seg6.h
[edit]
[-] codel.h
[edit]
[-] act_api.h
[edit]
[-] inet6_hashtables.h
[edit]
[-] rstreason.h
[edit]
[-] ipconfig.h
[edit]
[-] pkt_cls.h
[edit]
[-] rawv6.h
[edit]
[-] ip.h
[edit]
[-] udplite.h
[edit]
[-] fq.h
[edit]
[-] dsa.h
[edit]
[-] gro.h
[edit]
[-] llc_c_ev.h
[edit]
[+]
netns
[-] timewait_sock.h
[edit]
[-] espintcp.h
[edit]
[-] llc_s_st.h
[edit]
[-] dst_metadata.h
[edit]
[-] wext.h
[edit]
[-] sock_reuseport.h
[edit]
[-] net_debug.h
[edit]
[+]
9p
[-] rtnh.h
[edit]
[-] tcp_states.h
[edit]
[-] inetpeer.h
[edit]
[-] flow_offload.h
[edit]
[-] x25.h
[edit]
[-] ieee802154_netdev.h
[edit]
[-] psnap.h
[edit]
[-] secure_seq.h
[edit]
[-] netlink.h
[edit]
[-] ipx.h
[edit]
[-] Space.h
[edit]
[-] eee.h
[edit]
[-] dn_dev.h
[edit]
[-] nsh.h
[edit]
[-] dsfield.h
[edit]
[-] mpls_iptunnel.h
[edit]
[-] datalink.h
[edit]
[-] llc_c_st.h
[edit]
[+]
nfc
[-] dst_cache.h
[edit]
[-] dn_route.h
[edit]
[-] mpls.h
[edit]
[-] xfrm.h
[edit]
[-] rose.h
[edit]
[-] vxlan.h
[edit]
[+]
bluetooth
[-] kcm.h
[edit]
[-] geneve.h
[edit]
[-] tun_proto.h
[edit]
[-] ipv6_frag.h
[edit]
[+]
mana
[-] fib_rules.h
[edit]
[-] udp_tunnel.h
[edit]
[-] rps.h
[edit]
[-] x25device.h
[edit]
[-] gue.h
[edit]
[-] busy_poll.h
[edit]
[-] tc_wrapper.h
[edit]
[-] ip6_route.h
[edit]
[-] icmp.h
[edit]
[-] bond_3ad.h
[edit]
[-] tls_prot.h
[edit]
[-] sock.h
[edit]
[-] ax88796.h
[edit]
[-] mrp.h
[edit]
[-] ip6_fib.h
[edit]
[-] red.h
[edit]
[-] ila.h
[edit]
[-] ip6_tunnel.h
[edit]
[-] pie.h
[edit]
[-] dropreason.h
[edit]
[-] ethoc.h
[edit]
[+]
tc_act
[-] bpf_sk_storage.h
[edit]
[-] dcbevent.h
[edit]
[-] regulatory.h
[edit]
[-] tls_toe.h
[edit]
[-] lapb.h
[edit]
[-] codel_qdisc.h
[edit]
[-] dn_fib.h
[edit]
[-] gtp.h
[edit]
[-] strparser.h
[edit]
[-] gre.h
[edit]
[-] ndisc.h
[edit]
[-] dn_nsp.h
[edit]
[-] ax25.h
[edit]
[-] inet_connection_sock.h
[edit]
[-] neighbour.h
[edit]
[-] af_vsock.h
[edit]
[-] seg6_local.h
[edit]
[-] llc_conn.h
[edit]
[-] llc.h
[edit]
[-] tls.h
[edit]
[-] pptp.h
[edit]
[+]
libeth
[-] failover.h
[edit]
[-] dst_ops.h
[edit]
[-] inet_dscp.h
[edit]
[-] dsa_stubs.h
[edit]
[-] mac802154.h
[edit]
[-] p8022.h
[edit]
[-] gro_cells.h
[edit]
[-] request_sock.h
[edit]
[-] atmclip.h
[edit]
[-] net_ratelimit.h
[edit]
[-] firewire.h
[edit]
[-] dst.h
[edit]
[-] tcx.h
[edit]
[-] rpl.h
[edit]
[-] tipc.h
[edit]
[-] ip_fib.h
[edit]
[-] snmp.h
[edit]
[-] tcp.h
[edit]
[+]
iucv
[-] nexthop.h
[edit]
[-] mptcp.h
[edit]
[-] netdev_queues.h
[edit]
[-] protocol.h
[edit]
[+]
sctp
[-] fou.h
[edit]
[-] inet_sock.h
[edit]
[-] bond_alb.h
[edit]
[-] ipv6.h
[edit]
[-] net_trackers.h
[edit]
[-] 6lowpan.h
[edit]
[-] mld.h
[edit]
[-] raw.h
[edit]
[-] netdev_rx_queue.h
[edit]
[-] garp.h
[edit]
[-] cfg80211-wext.h
[edit]
[-] checksum.h
[edit]
[-] llc_pdu.h
[edit]
[-] cfg80211.h
[edit]
[-] dn.h
[edit]
[-] udp.h
[edit]
[-] stp.h
[edit]
[-] flow.h
[edit]
[-] handshake.h
[edit]
[-] transp_v6.h
[edit]
[-] llc_s_ac.h
[edit]
[-] ip_vs.h
[edit]
[-] mip6.h
[edit]
[-] sch_generic.h
[edit]
[-] ip_tunnels.h
[edit]
[-] smc.h
[edit]
[-] xdp_sock_drv.h
[edit]
[-] inet6_connection_sock.h
[edit]
[-] dn_neigh.h
[edit]
[-] cipso_ipv4.h
[edit]
[-] vsock_addr.h
[edit]
[-] dcbnl.h
[edit]
[-] ife.h
[edit]
[-] lwtunnel.h
[edit]
[-] netlabel.h
[edit]
[-] compat.h
[edit]
[-] gen_stats.h
[edit]
[-] genetlink.h
[edit]
[-] net_shaper.h
[edit]
[-] inet_timewait_sock.h
[edit]
[-] cls_cgroup.h
[edit]
[-] llc_if.h
[edit]
[+]
phonet
[-] erspan.h
[edit]
[-] inet_frag.h
[edit]
[-] inet_ecn.h
[edit]
[-] bareudp.h
[edit]
[-] slhc_vj.h
[edit]
[-] seg6_hmac.h
[edit]
[-] inet_hashtables.h
[edit]
[-] llc_s_ev.h
[edit]
[-] gso.h
[edit]
[-] net_failover.h
[edit]
[-] iw_handler.h
[edit]
[-] selftests.h
[edit]
[-] addrconf.h
[edit]
[-] lag.h
[edit]
[-] esp.h
[edit]
[-] ping.h
[edit]
[-] net_namespace.h
[edit]
[-] ip6_checksum.h
[edit]
[-] macsec.h
[edit]
[-] scm.h
[edit]
[-] arp.h
[edit]
[-] tso.h
[edit]
[-] netprio_cgroup.h
[edit]
[-] ipv6_stubs.h
[edit]
[-] flow_dissector.h
[edit]
[-] cfg802154.h
[edit]
[-] ncsi.h
[edit]