Searched refs:steer (Results 1 – 4 of 4) sorted by relevance
/drivers/net/ethernet/mellanox/mlx4/ |
D | mcg.c | 108 static int mlx4_WRITE_PROMISC(struct mlx4_dev *dev, u8 port, u8 steer, in mlx4_WRITE_PROMISC() argument 113 in_mod = (u32) port << 16 | steer << 1; in mlx4_WRITE_PROMISC() 136 enum mlx4_steer_type steer, in get_promisc_qp() argument 139 struct mlx4_steer *s_steer = &mlx4_priv(dev)->steer[port - 1]; in get_promisc_qp() 142 list_for_each_entry(pqp, &s_steer->promisc_qps[steer], list) { in get_promisc_qp() 155 enum mlx4_steer_type steer, in new_steering_entry() argument 168 s_steer = &mlx4_priv(dev)->steer[port - 1]; in new_steering_entry() 175 list_add_tail(&new_entry->list, &s_steer->steer_entries[steer]); in new_steering_entry() 180 pqp = get_promisc_qp(dev, port, steer, qpn); in new_steering_entry() 192 if (list_empty(&s_steer->promisc_qps[steer])) in new_steering_entry() [all …]
|
D | main.c | 1972 priv->steer = kzalloc(sizeof(struct mlx4_steer) * num_entries, GFP_KERNEL); in mlx4_init_steering() 1973 if (!priv->steer) in mlx4_init_steering() 1978 INIT_LIST_HEAD(&priv->steer[i].promisc_qps[j]); in mlx4_init_steering() 1979 INIT_LIST_HEAD(&priv->steer[i].steer_entries[j]); in mlx4_init_steering() 1995 &priv->steer[i].promisc_qps[j], in mlx4_clear_steering() 2001 &priv->steer[i].steer_entries[j], in mlx4_clear_steering() 2014 kfree(priv->steer); in mlx4_clear_steering()
|
D | mlx4.h | 775 struct mlx4_steer *steer; member 1142 enum mlx4_protocol prot, enum mlx4_steer_type steer); 1145 enum mlx4_steer_type steer);
|
D | resource_tracker.c | 77 enum mlx4_steer_type steer; member 2987 enum mlx4_steer_type steer, u64 reg_id) in add_mcg_res() argument 3003 res->steer = steer; in add_mcg_res() 3015 enum mlx4_steer_type steer, u64 *reg_id) in rem_mcg_res() argument 3022 if (!res || res->prot != prot || res->steer != steer) in rem_mcg_res() 3359 rgid->prot, rgid->steer); in detach_qp()
|