Home
last modified time | relevance | path

Searched refs:rif_subport (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_router.c8155 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_get() local
8162 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_get()
8163 refcount_inc(&rif_subport->ref_count); in mlxsw_sp_rif_subport_get()
8169 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_put() local
8171 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_put()
8172 if (!refcount_dec_and_test(&rif_subport->ref_count)) in mlxsw_sp_rif_subport_put()
8918 struct mlxsw_sp_rif_subport *rif_subport; in mlxsw_sp_rif_subport_setup() local
8920 rif_subport = mlxsw_sp_rif_subport_rif(rif); in mlxsw_sp_rif_subport_setup()
8921 refcount_set(&rif_subport->ref_count, 1); in mlxsw_sp_rif_subport_setup()
8922 rif_subport->vid = params->vid; in mlxsw_sp_rif_subport_setup()
[all …]