• Home
  • Raw
  • Download

Lines Matching refs:hash

92 #define LB_HTPM_PORT_BY_HASH(lp_priv, hash) \  argument
93 (lb_priv)->ex->tx_hash_to_port_mapping[hash].port
95 #define LB_HTPM_OPT_INST_INFO_BY_HASH(lp_priv, hash) \ argument
96 (lb_priv)->ex->tx_hash_to_port_mapping[hash].opt_inst_info
123 unsigned char hash) in lb_hash_select_tx_port() argument
125 int port_index = team_num_to_port_index(team, hash); in lb_hash_select_tx_port()
134 unsigned char hash) in lb_htpm_select_tx_port() argument
138 port = rcu_dereference_bh(LB_HTPM_PORT_BY_HASH(lb_priv, hash)); in lb_htpm_select_tx_port()
142 return lb_hash_select_tx_port(team, lb_priv, skb, hash); in lb_htpm_select_tx_port()
207 unsigned char hash) in lb_update_tx_stats() argument
215 hash_stats = &pcpu_stats->hash_stats[hash]; in lb_update_tx_stats()
227 unsigned char hash; in lb_transmit() local
230 hash = lb_get_skb_hash(lb_priv, skb); in lb_transmit()
232 port = select_tx_port_func(team, lb_priv, skb, hash); in lb_transmit()
237 lb_update_tx_stats(tx_bytes, lb_priv, get_lb_port_priv(port), hash); in lb_transmit()
368 unsigned char hash = info->array_index; in lb_tx_hash_to_port_mapping_init() local
370 LB_HTPM_OPT_INST_INFO_BY_HASH(lb_priv, hash) = info; in lb_tx_hash_to_port_mapping_init()
379 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_get() local
381 port = LB_HTPM_PORT_BY_HASH(lb_priv, hash); in lb_tx_hash_to_port_mapping_get()
391 unsigned char hash = ctx->info->array_index; in lb_tx_hash_to_port_mapping_set() local
396 rcu_assign_pointer(LB_HTPM_PORT_BY_HASH(lb_priv, hash), in lb_tx_hash_to_port_mapping_set()
408 unsigned char hash = info->array_index; in lb_hash_stats_init() local
410 lb_priv->ex->stats.info[hash].opt_inst_info = info; in lb_hash_stats_init()
417 unsigned char hash = ctx->info->array_index; in lb_hash_stats_get() local
419 ctx->data.bin_val.ptr = &lb_priv->ex->stats.info[hash].stats; in lb_hash_stats_get()