/drivers/net/team/ |
D | team.c | 63 static int team_port_set_team_dev_addr(struct team *team, in team_port_set_team_dev_addr() argument 66 return __set_port_dev_addr(port->dev, team->dev->dev_addr); in team_port_set_team_dev_addr() 69 int team_modeop_port_enter(struct team *team, struct team_port *port) in team_modeop_port_enter() argument 71 return team_port_set_team_dev_addr(team, port); in team_modeop_port_enter() 75 void team_modeop_port_change_dev_addr(struct team *team, in team_modeop_port_change_dev_addr() argument 78 team_port_set_team_dev_addr(team, port); in team_modeop_port_change_dev_addr() 116 static struct team_option *__team_find_option(struct team *team, in __team_find_option() argument 121 list_for_each_entry(option, &team->option_list, list) { in __team_find_option() 134 static void __team_option_inst_del_option(struct team *team, in __team_option_inst_del_option() argument 139 list_for_each_entry_safe(opt_inst, tmp, &team->option_inst_list, list) { in __team_option_inst_del_option() [all …]
|
D | team_mode_loadbalance.c | 17 static rx_handler_result_t lb_receive(struct team *team, struct team_port *port, in lb_receive() argument 32 typedef struct team_port *lb_select_tx_port_func_t(struct team *, 60 struct team *team; member 77 static struct lb_priv *get_lb_priv(struct team *team) in get_lb_priv() argument 79 return (struct lb_priv *) &team->mode_priv; in get_lb_priv() 98 static void lb_tx_hash_to_port_mapping_null_port(struct team *team, in lb_tx_hash_to_port_mapping_null_port() argument 101 struct lb_priv *lb_priv = get_lb_priv(team); in lb_tx_hash_to_port_mapping_null_port() 116 team_options_change_check(team); in lb_tx_hash_to_port_mapping_null_port() 120 static struct team_port *lb_hash_select_tx_port(struct team *team, in lb_hash_select_tx_port() argument 125 int port_index = team_num_to_port_index(team, hash); in lb_hash_select_tx_port() [all …]
|
D | team_mode_activebackup.c | 21 static struct ab_priv *ab_priv(struct team *team) in ab_priv() argument 23 return (struct ab_priv *) &team->mode_priv; in ab_priv() 26 static rx_handler_result_t ab_receive(struct team *team, struct team_port *port, in ab_receive() argument 30 active_port = rcu_dereference(ab_priv(team)->active_port); in ab_receive() 36 static bool ab_transmit(struct team *team, struct sk_buff *skb) in ab_transmit() argument 40 active_port = rcu_dereference_bh(ab_priv(team)->active_port); in ab_transmit() 43 if (team_dev_queue_xmit(team, active_port, skb)) in ab_transmit() 52 static void ab_port_leave(struct team *team, struct team_port *port) in ab_port_leave() argument 54 if (ab_priv(team)->active_port == port) { in ab_port_leave() 55 RCU_INIT_POINTER(ab_priv(team)->active_port, NULL); in ab_port_leave() [all …]
|
D | team_mode_roundrobin.c | 19 static struct rr_priv *rr_priv(struct team *team) in rr_priv() argument 21 return (struct rr_priv *) &team->mode_priv; in rr_priv() 24 static bool rr_transmit(struct team *team, struct sk_buff *skb) in rr_transmit() argument 29 port_index = team_num_to_port_index(team, in rr_transmit() 30 rr_priv(team)->sent_packets++); in rr_transmit() 31 port = team_get_port_by_index_rcu(team, port_index); in rr_transmit() 34 port = team_get_first_port_txable_rcu(team, port); in rr_transmit() 37 if (team_dev_queue_xmit(team, port, skb)) in rr_transmit()
|
D | Kconfig | 3 tristate "Ethernet team driver support" 11 "ip link add link [ address MAC ] [ NAME ] type team" 14 will be called team. 24 All added ports are setup to have team's device address. 26 To compile this team mode as a module, choose M here: the module 36 All added ports are setup to have team's device address. 38 To compile this team mode as a module, choose M here: the module 48 All added ports are setup to have team's device address. 50 To compile this team mode as a module, choose M here: the module 63 To compile this team mode as a module, choose M here: the module [all …]
|
D | team_mode_random.c | 14 static bool rnd_transmit(struct team *team, struct sk_buff *skb) in rnd_transmit() argument 19 port_index = prandom_u32_max(team->en_port_count); in rnd_transmit() 20 port = team_get_port_by_index_rcu(team, port_index); in rnd_transmit() 23 port = team_get_first_port_txable_rcu(team, port); in rnd_transmit() 26 if (team_dev_queue_xmit(team, port, skb)) in rnd_transmit()
|
D | team_mode_broadcast.c | 15 static bool bc_transmit(struct team *team, struct sk_buff *skb) in bc_transmit() argument 23 list_for_each_entry_rcu(cur, &team->port_list, list) { in bc_transmit() 28 ret = !team_dev_queue_xmit(team, last, in bc_transmit() 38 ret = !team_dev_queue_xmit(team, last, skb); in bc_transmit()
|
D | Makefile | 6 obj-$(CONFIG_NET_TEAM) += team.o
|
/drivers/android/ |
D | Kconfig | 89 kernel team. 108 NOT be supported by the Google Android kernel team.
|
/drivers/net/ |
D | Makefile | 27 obj-$(CONFIG_NET_TEAM) += team/
|
D | Kconfig | 163 source "drivers/net/team/Kconfig"
|