Searched refs:fa_cookie (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | core_acl_flex_actions.c | 138 struct flow_action_cookie fa_cookie; member 144 return jhash2((u32 *) fa_cookie->cookie, in mlxsw_afa_cookie_hash() 168 if (cookie->fa_cookie.cookie_len == fa_cookie->cookie_len) in mlxsw_afa_cookie_obj_cmpfn() 169 return memcmp(cookie->fa_cookie.cookie, fa_cookie->cookie, in mlxsw_afa_cookie_obj_cmpfn() 170 fa_cookie->cookie_len); in mlxsw_afa_cookie_obj_cmpfn() 740 cookie->fa_cookie = *fa_cookie; in mlxsw_afa_cookie_create() 741 memcpy(cookie->fa_cookie.cookie, fa_cookie->cookie, in mlxsw_afa_cookie_create() 742 fa_cookie->cookie_len); in mlxsw_afa_cookie_create() 813 return &cookie->fa_cookie; in mlxsw_afa_cookie_lookup() 1317 return fa_cookie ? in mlxsw_afa_block_append_drop() [all …]
|
H A D | core_acl_flex_actions.h | 59 const struct flow_action_cookie *fa_cookie,
|
H A D | spectrum_acl.c | 403 const struct flow_action_cookie *fa_cookie, in mlxsw_sp_acl_rulei_act_drop() argument 407 fa_cookie, extack); in mlxsw_sp_acl_rulei_act_drop()
|
H A D | spectrum_trap.c | 116 const struct flow_action_cookie *fa_cookie; 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() 136 devlink_trap_report(devlink, skb, trap_ctx, in_devlink_port, fa_cookie); in mlxsw_sp_rx_acl_drop_listener()
|
H A D | spectrum.h | 1021 const struct flow_action_cookie *fa_cookie,
|
/linux/drivers/net/netdevsim/ |
H A D | dev.c | 148 fa_cookie = nsim_dev->fa_cookie; in nsim_dev_trap_fa_cookie_read() 149 if (!fa_cookie) { in nsim_dev_trap_fa_cookie_read() 159 bin2hex(buf, fa_cookie->cookie, fa_cookie->cookie_len); in nsim_dev_trap_fa_cookie_read() 192 fa_cookie = kmalloc(sizeof(*fa_cookie) + cookie_len, in nsim_dev_trap_fa_cookie_write() 194 if (!fa_cookie) { in nsim_dev_trap_fa_cookie_write() 199 fa_cookie->cookie_len = cookie_len; in nsim_dev_trap_fa_cookie_write() 206 kfree(nsim_dev->fa_cookie); in nsim_dev_trap_fa_cookie_write() 207 nsim_dev->fa_cookie = fa_cookie; in nsim_dev_trap_fa_cookie_write() 213 kfree(fa_cookie); in nsim_dev_trap_fa_cookie_write() 817 fa_cookie = has_fa_cookie ? nsim_dev->fa_cookie : NULL; in nsim_dev_trap_report() [all …]
|
H A D | netdevsim.h | 321 struct flow_action_cookie *fa_cookie; member
|
/linux/net/core/ |
H A D | drop_monitor.c | 748 return hw_metadata->fa_cookie ? in net_dm_flow_action_cookie_size() 816 if (hw_metadata->fa_cookie && in net_dm_hw_packet_report_fill() 818 hw_metadata->fa_cookie->cookie_len, in net_dm_hw_packet_report_fill() 819 hw_metadata->fa_cookie->cookie)) in net_dm_hw_packet_report_fill() 873 if (metadata->fa_cookie) { in net_dm_hw_metadata_copy() 874 size_t cookie_size = sizeof(*fa_cookie) + in net_dm_hw_metadata_copy() 875 metadata->fa_cookie->cookie_len; in net_dm_hw_metadata_copy() 877 fa_cookie = kmemdup(metadata->fa_cookie, cookie_size, in net_dm_hw_metadata_copy() 879 if (!fa_cookie) in net_dm_hw_metadata_copy() 881 hw_metadata->fa_cookie = fa_cookie; in net_dm_hw_metadata_copy() [all …]
|
/linux/net/devlink/ |
H A D | trap.c | 1470 const struct flow_action_cookie *fa_cookie) in devlink_trap_report_metadata_set() argument 1474 metadata->fa_cookie = fa_cookie; in devlink_trap_report_metadata_set() 1493 const struct flow_action_cookie *fa_cookie) in devlink_trap_report() argument 1505 in_devlink_port, fa_cookie); in devlink_trap_report()
|
/linux/include/net/ |
H A D | devlink.h | 764 const struct flow_action_cookie *fa_cookie; member 1972 const struct flow_action_cookie *fa_cookie);
|