Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_atcam.c69 return mlxsw_sp_acl_erp_mask_is_ctcam(aentry->erp_mask); in mlxsw_sp_acl_atcam_is_centry()
384 u8 erp_id = mlxsw_sp_acl_erp_mask_erp_id(aentry->erp_mask); in mlxsw_sp_acl_atcam_region_entry_insert()
427 u8 erp_id = mlxsw_sp_acl_erp_mask_erp_id(aentry->erp_mask); in mlxsw_sp_acl_atcam_region_entry_remove()
449 u8 erp_id = mlxsw_sp_acl_erp_mask_erp_id(aentry->erp_mask); in mlxsw_sp_acl_atcam_region_entry_action_replace()
480 struct mlxsw_sp_acl_erp_mask *erp_mask; in __mlxsw_sp_acl_atcam_entry_add() local
487 if (IS_ERR(erp_mask)) in __mlxsw_sp_acl_atcam_entry_add()
488 return PTR_ERR(erp_mask); in __mlxsw_sp_acl_atcam_entry_add()
489 aentry->erp_mask = erp_mask; in __mlxsw_sp_acl_atcam_entry_add()
495 delta = mlxsw_sp_acl_erp_delta(aentry->erp_mask); in __mlxsw_sp_acl_atcam_entry_add()
538 mlxsw_sp_acl_erp_mask_put(aregion, erp_mask); in __mlxsw_sp_acl_atcam_entry_add()
[all …]
H A Dspectrum2_acl_tcam.c37 struct mlxsw_sp_acl_erp_mask *erp_mask; in mlxsw_sp2_acl_ctcam_region_entry_insert() local
42 erp_mask = mlxsw_sp_acl_erp_mask_get(aregion, mask, true); in mlxsw_sp2_acl_ctcam_region_entry_insert()
43 if (IS_ERR(erp_mask)) in mlxsw_sp2_acl_ctcam_region_entry_insert()
44 return PTR_ERR(erp_mask); in mlxsw_sp2_acl_ctcam_region_entry_insert()
45 aentry->erp_mask = erp_mask; in mlxsw_sp2_acl_ctcam_region_entry_insert()
60 mlxsw_sp_acl_erp_mask_put(aregion, aentry->erp_mask); in mlxsw_sp2_acl_ctcam_region_entry_remove()
H A Dspectrum_acl_tcam.h191 struct mlxsw_sp_acl_erp_mask *erp_mask; member
253 mlxsw_sp_acl_erp_mask_is_ctcam(const struct mlxsw_sp_acl_erp_mask *erp_mask);
254 u8 mlxsw_sp_acl_erp_mask_erp_id(const struct mlxsw_sp_acl_erp_mask *erp_mask);
256 mlxsw_sp_acl_erp_delta(const struct mlxsw_sp_acl_erp_mask *erp_mask);
261 struct mlxsw_sp_acl_erp_mask *erp_mask);
264 struct mlxsw_sp_acl_erp_mask *erp_mask,
268 struct mlxsw_sp_acl_erp_mask *erp_mask,
H A Dspectrum_acl_erp.c1023 struct mlxsw_sp_acl_erp_mask *erp_mask) in mlxsw_sp_acl_erp_mask_put() argument
1025 struct objagg_obj *objagg_obj = (struct objagg_obj *) erp_mask; in mlxsw_sp_acl_erp_mask_put()
1035 struct mlxsw_sp_acl_erp_mask *erp_mask, in mlxsw_sp_acl_erp_bf_insert() argument
1038 struct objagg_obj *objagg_obj = (struct objagg_obj *) erp_mask; in mlxsw_sp_acl_erp_bf_insert()
1053 struct mlxsw_sp_acl_erp_mask *erp_mask, in mlxsw_sp_acl_erp_bf_remove() argument
1056 struct objagg_obj *objagg_obj = (struct objagg_obj *) erp_mask; in mlxsw_sp_acl_erp_bf_remove()
1070 mlxsw_sp_acl_erp_mask_is_ctcam(const struct mlxsw_sp_acl_erp_mask *erp_mask) in mlxsw_sp_acl_erp_mask_is_ctcam() argument
1072 struct objagg_obj *objagg_obj = (struct objagg_obj *) erp_mask; in mlxsw_sp_acl_erp_mask_is_ctcam()
1080 struct objagg_obj *objagg_obj = (struct objagg_obj *) erp_mask; in mlxsw_sp_acl_erp_mask_erp_id()
1144 mlxsw_sp_acl_erp_delta(const struct mlxsw_sp_acl_erp_mask *erp_mask) in mlxsw_sp_acl_erp_delta() argument
[all …]