10 #ifndef _LINUX_IF_TEAM_H_
11 #define _LINUX_IF_TEAM_H_
65 #ifdef CONFIG_NET_POLL_CONTROLLER
77 return port->
index != -1;
82 return port->
linkup && team_port_enabled(port);
85 #ifdef CONFIG_NET_POLL_CONTROLLER
86 static inline void team_netpoll_send_skb(
struct team_port *
port,
92 netpoll_send_skb(np, skb);
95 static inline void team_netpoll_send_skb(
struct team_port *port,
164 #define TEAM_PORT_HASHBITS 4
165 #define TEAM_PORT_HASHENTRIES (1 << TEAM_PORT_HASHBITS)
167 #define TEAM_MODE_PRIV_LONGS 4
168 #define TEAM_MODE_PRIV_SIZE (sizeof(long) * TEAM_MODE_PRIV_LONGS)
199 skb_set_queue_mapping(skb,
qdisc_skb_cb(skb)->slave_dev_queue_mapping);
203 team_netpoll_send_skb(port, skb);
232 struct hlist_head *head = team_port_index_hash(team, port_index);
234 hlist_for_each_entry_rcu(port, p, head,
hlist)
243 size_t option_count);
246 size_t option_count);
250 #define TEAM_DEFAULT_NUM_TX_QUEUES 16
251 #define TEAM_DEFAULT_NUM_RX_QUEUES 16