/drivers/net/team/ |
D | team.c | 64 static int team_port_set_team_dev_addr(struct team *team, in team_port_set_team_dev_addr() argument 67 return __set_port_dev_addr(port->dev, team->dev->dev_addr); in team_port_set_team_dev_addr() 70 int team_modeop_port_enter(struct team *team, struct team_port *port) in team_modeop_port_enter() argument 72 return team_port_set_team_dev_addr(team, port); in team_modeop_port_enter() 76 void team_modeop_port_change_dev_addr(struct team *team, in team_modeop_port_change_dev_addr() argument 79 team_port_set_team_dev_addr(team, port); in team_modeop_port_change_dev_addr() 117 static struct team_option *__team_find_option(struct team *team, in __team_find_option() argument 122 list_for_each_entry(option, &team->option_list, list) { in __team_find_option() 135 static void __team_option_inst_del_option(struct team *team, in __team_option_inst_del_option() argument 140 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 *, 58 struct team *team; member 75 static struct lb_priv *get_lb_priv(struct team *team) in get_lb_priv() argument 77 return (struct lb_priv *) &team->mode_priv; in get_lb_priv() 96 static void lb_tx_hash_to_port_mapping_null_port(struct team *team, in lb_tx_hash_to_port_mapping_null_port() argument 99 struct lb_priv *lb_priv = get_lb_priv(team); in lb_tx_hash_to_port_mapping_null_port() 114 team_options_change_check(team); in lb_tx_hash_to_port_mapping_null_port() 118 static struct team_port *lb_hash_select_tx_port(struct team *team, in lb_hash_select_tx_port() argument 121 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 | 18 static struct rr_priv *rr_priv(struct team *team) in rr_priv() argument 20 return (struct rr_priv *) &team->mode_priv; in rr_priv() 23 static bool rr_transmit(struct team *team, struct sk_buff *skb) in rr_transmit() argument 28 port_index = team_num_to_port_index(team, in rr_transmit() 29 rr_priv(team)->sent_packets++); in rr_transmit() 30 port = team_get_port_by_index_rcu(team, port_index); in rr_transmit() 33 port = team_get_first_port_txable_rcu(team, port); in rr_transmit() 36 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 = get_random_u32_below(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 | 14 static bool bc_transmit(struct team *team, struct sk_buff *skb) in bc_transmit() argument 22 list_for_each_entry_rcu(cur, &team->port_list, list) { in bc_transmit() 27 ret = !team_dev_queue_xmit(team, last, in bc_transmit() 37 ret = !team_dev_queue_xmit(team, last, skb); in bc_transmit()
|
D | Makefile | 6 obj-$(CONFIG_NET_TEAM) += team.o
|
/drivers/android/ |
D | Kconfig | 93 kernel team. 112 NOT be supported by the Google Android kernel team.
|
/drivers/net/ |
D | Makefile | 30 obj-$(CONFIG_NET_TEAM) += team/
|
D | Kconfig | 164 source "drivers/net/team/Kconfig"
|