Home
last modified time | relevance | path

Searched refs:action_mask (Results 1 – 7 of 7) sorted by relevance

/openbmc/linux/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.h70 unsigned int action_mask; member
232 return abm->action_mask & BIT(NFP_ABM_ACT_DROP); in nfp_abm_has_drop()
237 return abm->action_mask & BIT(NFP_ABM_ACT_MARK_DROP); in nfp_abm_has_mark()
H A Dctrl.c389 abm->action_mask = res; in nfp_abm_ctrl_find_addrs()
/openbmc/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_tc_flower.c261 u64 action_mask = 0; in lan966x_tc_flower_action_check() local
273 if (action_mask & BIT(actent->id)) { in lan966x_tc_flower_action_check()
278 action_mask |= BIT(actent->id); in lan966x_tc_flower_action_check()
301 if (action_mask & BIT(FLOW_ACTION_TRAP) && in lan966x_tc_flower_action_check()
302 action_mask & BIT(FLOW_ACTION_ACCEPT)) { in lan966x_tc_flower_action_check()
/openbmc/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c287 u64 action_mask = 0; in sparx5_tc_flower_action_check() local
299 if (action_mask & BIT(actent->id)) { in sparx5_tc_flower_action_check()
304 action_mask |= BIT(actent->id); in sparx5_tc_flower_action_check()
327 if (action_mask & BIT(FLOW_ACTION_TRAP) && in sparx5_tc_flower_action_check()
328 action_mask & BIT(FLOW_ACTION_ACCEPT)) { in sparx5_tc_flower_action_check()
334 if (action_mask & BIT(FLOW_ACTION_VLAN_PUSH) && in sparx5_tc_flower_action_check()
335 action_mask & BIT(FLOW_ACTION_VLAN_POP)) { in sparx5_tc_flower_action_check()
341 if (action_mask & BIT(FLOW_ACTION_VLAN_PUSH) && in sparx5_tc_flower_action_check()
342 action_mask & BIT(FLOW_ACTION_VLAN_MANGLE)) { in sparx5_tc_flower_action_check()
348 if (action_mask & BIT(FLOW_ACTION_VLAN_POP) && in sparx5_tc_flower_action_check()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_qdisc.c1756 unsigned int action_mask; member
1881 if (!(BIT(mall_entry->type) & qevent_binding->action_mask)) { in mlxsw_sp_qevent_entry_configure()
2131 unsigned int action_mask) in mlxsw_sp_qevent_binding_create() argument
2143 binding->action_mask = action_mask; in mlxsw_sp_qevent_binding_create()
2173 unsigned int action_mask) in mlxsw_sp_setup_tc_block_qevent_bind() argument
2219 action_mask); in mlxsw_sp_setup_tc_block_qevent_bind()
2282 unsigned int action_mask) in mlxsw_sp_setup_tc_block_qevent() argument
2290 action_mask); in mlxsw_sp_setup_tc_block_qevent()
2302 unsigned int action_mask = BIT(MLXSW_SP_MALL_ACTION_TYPE_MIRROR) | in mlxsw_sp_setup_tc_block_qevent_early_drop() local
2307 action_mask); in mlxsw_sp_setup_tc_block_qevent_early_drop()
[all …]
/openbmc/linux/include/linux/
H A Dfilter.h1507 const u64 action_mask = XDP_ABORTED | XDP_DROP | XDP_PASS | XDP_TX; in __bpf_xdp_redirect_map() local
1510 if (unlikely(flags & ~(action_mask | flag_mask))) in __bpf_xdp_redirect_map()
1522 return flags & action_mask; in __bpf_xdp_redirect_map()
/openbmc/linux/net/mac80211/
H A Dcfg.c4065 u32 action_mask = BIT(IEEE80211_STYPE_ACTION >> 4); in ieee80211_update_mgmt_frame_registrations() local
4071 !!(upd->global_mcast_stypes & action_mask)); in ieee80211_update_mgmt_frame_registrations()
4073 local->rx_mcast_action_reg = upd->global_mcast_stypes & action_mask; in ieee80211_update_mgmt_frame_registrations()
4078 !!(upd->interface_mcast_stypes & action_mask)); in ieee80211_update_mgmt_frame_registrations()
4081 upd->interface_mcast_stypes & action_mask; in ieee80211_update_mgmt_frame_registrations()