Searched refs:steer (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 96 static int mlx4_WRITE_PROMISC(struct mlx4_dev *dev, u8 port, u8 steer, in mlx4_WRITE_PROMISC() argument 101 in_mod = (u32) port << 16 | steer << 1; in mlx4_WRITE_PROMISC() 124 enum mlx4_steer_type steer, in get_promisc_qp() argument 133 s_steer = &mlx4_priv(dev)->steer[port - 1]; in get_promisc_qp() 135 list_for_each_entry(pqp, &s_steer->promisc_qps[steer], list) { in get_promisc_qp() 148 enum mlx4_steer_type steer, in new_steering_entry() argument 164 s_steer = &mlx4_priv(dev)->steer[port - 1]; in new_steering_entry() 171 list_add_tail(&new_entry->list, &s_steer->steer_entries[steer]); in new_steering_entry() 176 pqp = get_promisc_qp(dev, port, steer, qpn); in new_steering_entry() 188 if (list_empty(&s_steer->promisc_qps[steer])) in new_steering_entry() [all …]
|
D | mlx4.h | 914 struct mlx4_steer *steer; member 1323 enum mlx4_protocol prot, enum mlx4_steer_type steer); 1326 enum mlx4_steer_type steer);
|
D | main.c | 3129 priv->steer = kcalloc(num_entries, sizeof(struct mlx4_steer), in mlx4_init_steering() 3131 if (!priv->steer) in mlx4_init_steering() 3136 INIT_LIST_HEAD(&priv->steer[i].promisc_qps[j]); in mlx4_init_steering() 3137 INIT_LIST_HEAD(&priv->steer[i].steer_entries[j]); in mlx4_init_steering() 3153 &priv->steer[i].promisc_qps[j], in mlx4_clear_steering() 3159 &priv->steer[i].steer_entries[j], in mlx4_clear_steering() 3172 kfree(priv->steer); in mlx4_clear_steering()
|
D | resource_tracker.c | 91 enum mlx4_steer_type steer; member 4030 enum mlx4_steer_type steer, u64 reg_id) in add_mcg_res() argument 4046 res->steer = steer; in add_mcg_res() 4058 enum mlx4_steer_type steer, u64 *reg_id) in rem_mcg_res() argument 4065 if (!res || res->prot != prot || res->steer != steer) in rem_mcg_res() 4596 rgid->prot, rgid->steer); in detach_qp()
|