Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/net/ethernet/microchip/lan966x/
A Dlan966x_tc_flower.c174 u64 action_mask = 0; in lan966x_tc_flower_action_check() local
186 if (action_mask & BIT(actent->id)) { in lan966x_tc_flower_action_check()
191 action_mask |= BIT(actent->id); in lan966x_tc_flower_action_check()
214 if (action_mask & BIT(FLOW_ACTION_TRAP) && in lan966x_tc_flower_action_check()
215 action_mask & BIT(FLOW_ACTION_ACCEPT)) { in lan966x_tc_flower_action_check()
/linux-6.3-rc2/drivers/net/ethernet/netronome/nfp/abm/
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()
A Dctrl.c389 abm->action_mask = res; in nfp_abm_ctrl_find_addrs()
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/
A Dsparx5_tc_flower.c260 u64 action_mask = 0; in sparx5_tc_flower_action_check() local
272 if (action_mask & BIT(actent->id)) { in sparx5_tc_flower_action_check()
277 action_mask |= BIT(actent->id); in sparx5_tc_flower_action_check()
300 if (action_mask & BIT(FLOW_ACTION_TRAP) && in sparx5_tc_flower_action_check()
301 action_mask & BIT(FLOW_ACTION_ACCEPT)) { in sparx5_tc_flower_action_check()
307 if (action_mask & BIT(FLOW_ACTION_VLAN_PUSH) && in sparx5_tc_flower_action_check()
308 action_mask & BIT(FLOW_ACTION_VLAN_POP)) { in sparx5_tc_flower_action_check()
314 if (action_mask & BIT(FLOW_ACTION_VLAN_PUSH) && in sparx5_tc_flower_action_check()
315 action_mask & BIT(FLOW_ACTION_VLAN_MANGLE)) { in sparx5_tc_flower_action_check()
321 if (action_mask & BIT(FLOW_ACTION_VLAN_POP) && in sparx5_tc_flower_action_check()
[all …]
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/
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()
2307 action_mask); in mlxsw_sp_setup_tc_block_qevent_early_drop()
2313 unsigned int action_mask = BIT(MLXSW_SP_MALL_ACTION_TYPE_MIRROR); in mlxsw_sp_setup_tc_block_qevent_mark() local
[all …]
/linux-6.3-rc2/include/linux/
A Dfilter.h1512 const u64 action_mask = XDP_ABORTED | XDP_DROP | XDP_PASS | XDP_TX; in __bpf_xdp_redirect_map() local
1515 if (unlikely(flags & ~(action_mask | flag_mask))) in __bpf_xdp_redirect_map()
1527 return flags & action_mask; in __bpf_xdp_redirect_map()
/linux-6.3-rc2/net/mac80211/
A Dcfg.c3959 u32 action_mask = BIT(IEEE80211_STYPE_ACTION >> 4); in ieee80211_update_mgmt_frame_registrations() local
3965 !!(upd->global_mcast_stypes & action_mask)); in ieee80211_update_mgmt_frame_registrations()
3967 local->rx_mcast_action_reg = upd->global_mcast_stypes & action_mask; in ieee80211_update_mgmt_frame_registrations()
3972 !!(upd->interface_mcast_stypes & action_mask)); in ieee80211_update_mgmt_frame_registrations()
3975 upd->interface_mcast_stypes & action_mask; in ieee80211_update_mgmt_frame_registrations()

Completed in 45 milliseconds