Searched refs:steer (Results 1 – 3 of 3) sorted by relevance
/linux-2.6.39/drivers/net/mlx4/ |
D | mcg.c | 60 static int mlx4_WRITE_PROMISC(struct mlx4_dev *dev, u8 vep_num, u8 port, u8 steer, in mlx4_WRITE_PROMISC() argument 65 in_mod = (u32) vep_num << 24 | (u32) port << 16 | steer << 1; in mlx4_WRITE_PROMISC() 86 enum mlx4_steer_type steer, in get_promisc_qp() argument 89 struct mlx4_steer *s_steer = &mlx4_priv(dev)->steer[pf_num]; in get_promisc_qp() 92 list_for_each_entry(pqp, &s_steer->promisc_qps[steer], list) { in get_promisc_qp() 105 enum mlx4_steer_type steer, in new_steering_entry() argument 120 s_steer = &mlx4_priv(dev)->steer[pf_num]; in new_steering_entry() 127 list_add_tail(&new_entry->list, &s_steer->steer_entries[steer]); in new_steering_entry() 132 pqp = get_promisc_qp(dev, pf_num, steer, qpn); in new_steering_entry() 144 if (list_empty(&s_steer->promisc_qps[steer])) in new_steering_entry() [all …]
|
D | mlx4.h | 356 struct mlx4_steer *steer; member 454 enum mlx4_protocol prot, enum mlx4_steer_type steer); 457 enum mlx4_steer_type steer);
|
D | main.c | 1105 priv->steer = kzalloc(sizeof(struct mlx4_steer) * num_entries, GFP_KERNEL); in mlx4_init_steering() 1106 if (!priv->steer) in mlx4_init_steering() 1111 INIT_LIST_HEAD(&priv->steer[i].promisc_qps[j]); in mlx4_init_steering() 1112 INIT_LIST_HEAD(&priv->steer[i].steer_entries[j]); in mlx4_init_steering() 1114 INIT_LIST_HEAD(&priv->steer[i].high_prios); in mlx4_init_steering() 1130 &priv->steer[i].promisc_qps[j], in mlx4_clear_steering() 1136 &priv->steer[i].steer_entries[j], in mlx4_clear_steering() 1149 kfree(priv->steer); in mlx4_clear_steering()
|