Home
last modified time | relevance | path

Searched refs:action_mask (Results 1 - 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.h46 * @action_mask: bitmask of supported actions
70 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()
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/abm/
H A Dmain.h46 * @action_mask: bitmask of supported actions
70 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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_tc_flower.c268 u64 action_mask = 0; in sparx5_tc_flower_action_check() local
280 if (action_mask & BIT(actent->id)) { in sparx5_tc_flower_action_check()
285 action_mask |= BIT(actent->id); in sparx5_tc_flower_action_check()
308 if (action_mask & BIT(FLOW_ACTION_TRAP) && in sparx5_tc_flower_action_check()
309 action_mask & BIT(FLOW_ACTION_ACCEPT)) { in sparx5_tc_flower_action_check()
315 if (action_mask & BIT(FLOW_ACTION_VLAN_PUSH) && in sparx5_tc_flower_action_check()
316 action_mask & BIT(FLOW_ACTION_VLAN_POP)) { in sparx5_tc_flower_action_check()
322 if (action_mask & BIT(FLOW_ACTION_VLAN_PUSH) && in sparx5_tc_flower_action_check()
323 action_mask & BIT(FLOW_ACTION_VLAN_MANGLE)) { in sparx5_tc_flower_action_check()
329 if (action_mask in sparx5_tc_flower_action_check()
[all...]
/kernel/linux/linux-6.6/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()
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()
2219 action_mask); in mlxsw_sp_setup_tc_block_qevent_bind()
2282 unsigned int action_mask) in mlxsw_sp_setup_tc_block_qevent()
2290 action_mask); in mlxsw_sp_setup_tc_block_qevent()
2302 unsigned int action_mask in mlxsw_sp_setup_tc_block_qevent_early_drop() local
2129 mlxsw_sp_qevent_binding_create(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, int tclass_num, enum mlxsw_sp_span_trigger span_trigger, unsigned int action_mask) mlxsw_sp_qevent_binding_create() argument
2170 mlxsw_sp_setup_tc_block_qevent_bind(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, enum mlxsw_sp_span_trigger span_trigger, unsigned int action_mask) mlxsw_sp_setup_tc_block_qevent_bind() argument
2279 mlxsw_sp_setup_tc_block_qevent(struct mlxsw_sp_port *mlxsw_sp_port, struct flow_block_offload *f, enum mlxsw_sp_span_trigger span_trigger, unsigned int action_mask) mlxsw_sp_setup_tc_block_qevent() argument
2313 unsigned int action_mask = BIT(MLXSW_SP_MALL_ACTION_TYPE_MIRROR); mlxsw_sp_setup_tc_block_qevent_mark() local
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/net/mac80211/
H A Dcfg.c3564 u32 action_mask = BIT(IEEE80211_STYPE_ACTION >> 4); in ieee80211_update_mgmt_frame_registrations() local
3570 !!(upd->global_mcast_stypes & action_mask)); in ieee80211_update_mgmt_frame_registrations()
3572 local->rx_mcast_action_reg = upd->global_mcast_stypes & action_mask; in ieee80211_update_mgmt_frame_registrations()
3577 !!(upd->interface_mcast_stypes & action_mask)); in ieee80211_update_mgmt_frame_registrations()
3580 upd->interface_mcast_stypes & action_mask; in ieee80211_update_mgmt_frame_registrations()
/kernel/linux/linux-6.6/net/mac80211/
H A Dcfg.c4063 u32 action_mask = BIT(IEEE80211_STYPE_ACTION >> 4); in ieee80211_update_mgmt_frame_registrations() local
4069 !!(upd->global_mcast_stypes & action_mask)); in ieee80211_update_mgmt_frame_registrations()
4071 local->rx_mcast_action_reg = upd->global_mcast_stypes & action_mask; in ieee80211_update_mgmt_frame_registrations()
4076 !!(upd->interface_mcast_stypes & action_mask)); in ieee80211_update_mgmt_frame_registrations()
4079 upd->interface_mcast_stypes & action_mask; in ieee80211_update_mgmt_frame_registrations()

Completed in 21 milliseconds