Searched refs:cookie_index (Results 1 – 6 of 6) sorted by relevance
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/ |
D | core_acl_flex_actions.c | 137 u32 cookie_index; member 733 u32 cookie_index; in mlxsw_afa_cookie_create() local 753 cookie_index = 1; in mlxsw_afa_cookie_create() 754 err = idr_alloc_u32(&mlxsw_afa->cookie_idr, cookie, &cookie_index, in mlxsw_afa_cookie_create() 758 cookie->cookie_index = cookie_index; in mlxsw_afa_cookie_create() 772 idr_remove(&mlxsw_afa->cookie_idr, cookie->cookie_index); in mlxsw_afa_cookie_destroy() 803 mlxsw_afa_cookie_lookup(struct mlxsw_afa *mlxsw_afa, u32 cookie_index) in mlxsw_afa_cookie_lookup() argument 808 if (!cookie_index) in mlxsw_afa_cookie_lookup() 810 cookie = idr_find(&mlxsw_afa->cookie_idr, cookie_index); in mlxsw_afa_cookie_lookup() 1283 u32 cookie_index; in mlxsw_afa_block_append_drop_with_cookie() local [all …]
|
D | core_acl_flex_actions.h | 57 mlxsw_afa_cookie_lookup(struct mlxsw_afa *mlxsw_afa, u32 cookie_index);
|
D | pci.c | 661 u32 cookie_index = 0; in mlxsw_pci_cqe_rdq_handle() local 664 cookie_index = mlxsw_pci_cqe2_user_def_val_orig_pkt_len_get(cqe); in mlxsw_pci_cqe_rdq_handle() 665 mlxsw_skb_cb(skb)->rx_md_info.cookie_index = cookie_index; in mlxsw_pci_cqe_rdq_handle()
|
D | spectrum_trap.c | 115 u32 cookie_index = mlxsw_skb_cb(skb)->rx_md_info.cookie_index; in mlxsw_sp_rx_acl_drop_listener() local 135 fa_cookie = mlxsw_sp_acl_act_cookie_lookup(mlxsw_sp, cookie_index); in mlxsw_sp_rx_acl_drop_listener()
|
D | core.h | 72 u32 cookie_index; member
|
D | spectrum.h | 1089 mlxsw_sp_acl_act_cookie_lookup(struct mlxsw_sp *mlxsw_sp, u32 cookie_index) in mlxsw_sp_acl_act_cookie_lookup() argument 1091 return mlxsw_afa_cookie_lookup(mlxsw_sp->afa, cookie_index); in mlxsw_sp_acl_act_cookie_lookup()
|