Searched refs:uplink_priv (Results 1 – 8 of 8) sorted by relevance
36 mlx5e_lookup_rep_bond_metadata(struct mlx5_rep_uplink_priv *uplink_priv, in mlx5e_lookup_rep_bond_metadata() argument42 list_for_each_entry(cur, &uplink_priv->bond->metadata_list, list) { in mlx5e_lookup_rep_bond_metadata()92 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv->uplink_priv, lag_dev); in mlx5e_rep_bond_enslave()107 list_add(&mdata->list, &rpriv->uplink_priv.bond->metadata_list); in mlx5e_rep_bond_enslave()156 mdata = mlx5e_lookup_rep_bond_metadata(&rpriv->uplink_priv, lag_dev); in mlx5e_rep_bond_unslave()290 if (rpriv->uplink_priv.bond != bond) in mlx5e_rep_esw_bond_netevent()309 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_bond_init() local318 uplink_priv->bond = kvzalloc(sizeof(*uplink_priv->bond), GFP_KERNEL); in mlx5e_rep_bond_init()319 if (!uplink_priv->bond) { in mlx5e_rep_bond_init()324 INIT_LIST_HEAD(&uplink_priv->bond->metadata_list); in mlx5e_rep_bond_init()[all …]
40 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_attach() local41 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; in mlx5e_rep_encap_entry_attach()75 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_encap_entry_detach() local76 struct mlx5_tun_entropy *tun_entropy = &uplink_priv->tun_entropy; in mlx5e_rep_encap_entry_detach()260 struct mlx5_rep_uplink_priv *uplink_priv = &rpriv->uplink_priv; in mlx5e_rep_tc_init() local263 mutex_init(&uplink_priv->unready_flows_lock); in mlx5e_rep_tc_init()264 INIT_LIST_HEAD(&uplink_priv->unready_flows); in mlx5e_rep_tc_init()267 err = mlx5e_tc_esw_init(uplink_priv); in mlx5e_rep_tc_init()274 mlx5e_tc_esw_cleanup(&rpriv->uplink_priv); in mlx5e_rep_tc_cleanup()275 mutex_destroy(&rpriv->uplink_priv.unready_flows_lock); in mlx5e_rep_tc_cleanup()[all …]
361 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_tc_int_port_init_rep_rx() local366 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_tc_int_port_init_rep_rx()368 ppriv = uplink_priv->int_port_priv; in mlx5e_tc_int_port_init_rep_rx()381 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_tc_int_port_cleanup_rep_rx() local387 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_tc_int_port_cleanup_rep_rx()389 ppriv = uplink_priv->int_port_priv; in mlx5e_tc_int_port_cleanup_rep_rx()
275 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_get_int_port_priv() local280 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_int_port_priv()282 return uplink_priv->int_port_priv; in mlx5e_get_int_port_priv()292 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_get_flow_meters() local298 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_get_flow_meters()300 if (!uplink_priv->flow_meters) in mlx5e_get_flow_meters()301 uplink_priv->flow_meters = in mlx5e_get_flow_meters()304 uplink_priv->post_act); in mlx5e_get_flow_meters()305 if (!IS_ERR(uplink_priv->flow_meters)) in mlx5e_get_flow_meters()306 return uplink_priv->flow_meters; in mlx5e_get_flow_meters()[all …]
182 int mlx5e_tc_esw_init(struct mlx5_rep_uplink_priv *uplink_priv);183 void mlx5e_tc_esw_cleanup(struct mlx5_rep_uplink_priv *uplink_priv);
112 struct mlx5_rep_uplink_priv uplink_priv; /* valid for uplink rep */ member
992 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_init_uplink_rep_tx() local999 uplink_priv = &rpriv->uplink_priv; in mlx5e_init_uplink_rep_tx()1005 mlx5_init_port_tun_entropy(&uplink_priv->tun_entropy, priv->mdev); in mlx5e_init_uplink_rep_tx()
745 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_route_tbl_get_last_update() local751 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_route_tbl_get_last_update()752 encap = uplink_priv->encap; in mlx5e_route_tbl_get_last_update()1064 struct mlx5_rep_uplink_priv *uplink_priv; in mlx5e_route_get_create() local1071 uplink_priv = &uplink_rpriv->uplink_priv; in mlx5e_route_get_create()1072 encap = uplink_priv->encap; in mlx5e_route_get_create()