Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_trap.c1683 u32 pol_id; in mlxsw_sp_trap_group_policer_hw_id_get() local
1689 pol_id = gr_item->group.init_policer_id; in mlxsw_sp_trap_group_policer_hw_id_get()
1690 if (!pol_id) { in mlxsw_sp_trap_group_policer_hw_id_get()
1695 pol_item = mlxsw_sp_trap_policer_item_lookup(mlxsw_sp, pol_id); in mlxsw_sp_trap_group_policer_hw_id_get()
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_user.c2627 struct xfrm_userpolicy_id *pol_id; in build_migrate() local
2631 nlh = nlmsg_put(skb, 0, 0, XFRM_MSG_MIGRATE, sizeof(*pol_id), 0); in build_migrate()
2635 pol_id = nlmsg_data(nlh); in build_migrate()
2637 memset(pol_id, 0, sizeof(*pol_id)); in build_migrate()
2638 memcpy(&pol_id->sel, sel, sizeof(pol_id->sel)); in build_migrate()
2639 pol_id->dir = dir; in build_migrate()