Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlxsw/
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()
426 u8 erp_id = mlxsw_sp_acl_erp_mask_erp_id(aentry->erp_mask); in mlxsw_sp_acl_atcam_region_entry_remove()
448 u8 erp_id = mlxsw_sp_acl_erp_mask_erp_id(aentry->erp_mask); in mlxsw_sp_acl_atcam_region_entry_action_replace()
479 struct mlxsw_sp_acl_erp_mask *erp_mask; in __mlxsw_sp_acl_atcam_entry_add() local
485 erp_mask = mlxsw_sp_acl_erp_mask_get(aregion, mask, false); in __mlxsw_sp_acl_atcam_entry_add()
486 if (IS_ERR(erp_mask)) in __mlxsw_sp_acl_atcam_entry_add()
487 return PTR_ERR(erp_mask); in __mlxsw_sp_acl_atcam_entry_add()
488 aentry->erp_mask = erp_mask; in __mlxsw_sp_acl_atcam_entry_add()
489 aentry->ht_key.erp_id = mlxsw_sp_acl_erp_mask_erp_id(erp_mask); in __mlxsw_sp_acl_atcam_entry_add()
[all …]
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()
Dspectrum_acl_tcam.h198 struct mlxsw_sp_acl_erp_mask *erp_mask; member
260 mlxsw_sp_acl_erp_mask_is_ctcam(const struct mlxsw_sp_acl_erp_mask *erp_mask);
261 u8 mlxsw_sp_acl_erp_mask_erp_id(const struct mlxsw_sp_acl_erp_mask *erp_mask);
263 mlxsw_sp_acl_erp_delta(const struct mlxsw_sp_acl_erp_mask *erp_mask);
268 struct mlxsw_sp_acl_erp_mask *erp_mask);
271 struct mlxsw_sp_acl_erp_mask *erp_mask,
275 struct mlxsw_sp_acl_erp_mask *erp_mask,
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()
1078 u8 mlxsw_sp_acl_erp_mask_erp_id(const struct mlxsw_sp_acl_erp_mask *erp_mask) in mlxsw_sp_acl_erp_mask_erp_id() argument
1080 struct objagg_obj *objagg_obj = (struct objagg_obj *) erp_mask; in mlxsw_sp_acl_erp_mask_erp_id()
[all …]