Searched refs:cookie_index (Results 1 – 6 of 6) sorted by relevance
/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 752 cookie_index = 1; in mlxsw_afa_cookie_create() 753 err = idr_alloc_u32(&mlxsw_afa->cookie_idr, cookie, &cookie_index, in mlxsw_afa_cookie_create() 757 cookie->cookie_index = cookie_index; in mlxsw_afa_cookie_create() 771 idr_remove(&mlxsw_afa->cookie_idr, cookie->cookie_index); in mlxsw_afa_cookie_destroy() 802 mlxsw_afa_cookie_lookup(struct mlxsw_afa *mlxsw_afa, u32 cookie_index) in mlxsw_afa_cookie_lookup() argument 807 if (!cookie_index) in mlxsw_afa_cookie_lookup() 809 cookie = idr_find(&mlxsw_afa->cookie_idr, cookie_index); in mlxsw_afa_cookie_lookup() 1282 u32 cookie_index; in mlxsw_afa_block_append_drop_with_cookie() local [all …]
|
D | core_acl_flex_actions.h | 51 mlxsw_afa_cookie_lookup(struct mlxsw_afa *mlxsw_afa, u32 cookie_index);
|
D | pci.c | 586 u32 cookie_index = 0; in mlxsw_pci_cqe_rdq_handle() local 589 cookie_index = mlxsw_pci_cqe2_user_def_val_orig_pkt_len_get(cqe); in mlxsw_pci_cqe_rdq_handle() 590 mlxsw_skb_cb(skb)->cookie_index = cookie_index; in mlxsw_pci_cqe_rdq_handle()
|
D | spectrum_trap.c | 109 u32 cookie_index = mlxsw_skb_cb(skb)->cookie_index; in mlxsw_sp_rx_acl_drop_listener() local 129 fa_cookie = mlxsw_sp_acl_act_cookie_lookup(mlxsw_sp, cookie_index); in mlxsw_sp_rx_acl_drop_listener()
|
D | spectrum.h | 963 mlxsw_sp_acl_act_cookie_lookup(struct mlxsw_sp *mlxsw_sp, u32 cookie_index) in mlxsw_sp_acl_act_cookie_lookup() argument 965 return mlxsw_afa_cookie_lookup(mlxsw_sp->afa, cookie_index); in mlxsw_sp_acl_act_cookie_lookup()
|
D | core.h | 505 u32 cookie_index; /* Only used during receive */ member
|