/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 270 int act_idx; in nfp_flower_tun_is_gre() local 273 for (act_idx = start_idx + 1; act_idx < num_act; act_idx++) in nfp_flower_tun_is_gre() 274 if (act[act_idx].id == FLOW_ACTION_REDIRECT || in nfp_flower_tun_is_gre() 275 act[act_idx].id == FLOW_ACTION_MIRRED) in nfp_flower_tun_is_gre() 276 return netif_is_gretap(act[act_idx].dev) || in nfp_flower_tun_is_gre() 277 netif_is_ip6gretap(act[act_idx].dev); in nfp_flower_tun_is_gre() 285 const struct flow_action_entry *act, int act_idx) in nfp_fl_get_tun_from_act() 293 if (nfp_flower_tun_is_gre(rule, act_idx)) in nfp_fl_get_tun_from_act() 283 nfp_fl_get_tun_from_act(struct nfp_app *app, struct flow_rule *rule, const struct flow_action_entry *act, int act_idx) nfp_fl_get_tun_from_act() argument 1026 nfp_flower_loop_action(struct nfp_app *app, const struct flow_action_entry *act, struct flow_rule *rule, struct nfp_fl_payload *nfp_fl, int *a_len, struct net_device *netdev, enum nfp_flower_tun_type *tun_type, int *tun_out_cnt, int *out_cnt, u32 *csum_updated, struct nfp_flower_pedit_acts *set_act, bool *pkt_host, struct netlink_ext_ack *extack, int act_idx) nfp_flower_loop_action() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | action.c | 269 int act_idx; in nfp_flower_tun_is_gre() local 272 for (act_idx = start_idx + 1; act_idx < num_act; act_idx++) in nfp_flower_tun_is_gre() 273 if (act[act_idx].id == FLOW_ACTION_REDIRECT || in nfp_flower_tun_is_gre() 274 act[act_idx].id == FLOW_ACTION_MIRRED) in nfp_flower_tun_is_gre() 275 return netif_is_gretap(act[act_idx].dev); in nfp_flower_tun_is_gre() 283 const struct flow_action_entry *act, int act_idx) in nfp_fl_get_tun_from_act() 291 if (nfp_flower_tun_is_gre(flow, act_idx)) in nfp_fl_get_tun_from_act() 986 struct netlink_ext_ack *extack, int act_idx) in nfp_flower_loop_action() 281 nfp_fl_get_tun_from_act(struct nfp_app *app, struct flow_cls_offload *flow, const struct flow_action_entry *act, int act_idx) nfp_fl_get_tun_from_act() argument 979 nfp_flower_loop_action(struct nfp_app *app, const struct flow_action_entry *act, struct flow_cls_offload *flow, struct nfp_fl_payload *nfp_fl, int *a_len, struct net_device *netdev, enum nfp_flower_tun_type *tun_type, int *tun_out_cnt, int *out_cnt, u32 *csum_updated, struct nfp_flower_pedit_acts *set_act, bool *pkt_host, struct netlink_ext_ack *extack, int act_idx) nfp_flower_loop_action() argument [all...] |
/kernel/linux/linux-6.6/block/ |
H A D | bfq-cgroup.c | 712 unsigned int act_idx) in bfq_sync_bfqq_move() 743 bic_set_bfqq(bic, NULL, true, act_idx); in bfq_sync_bfqq_move() 762 unsigned int act_idx; in __bfq_bic_change_cgroup() local 764 for (act_idx = 0; act_idx < bfqd->num_actuators; act_idx++) { in __bfq_bic_change_cgroup() 765 struct bfq_queue *async_bfqq = bic_to_bfqq(bic, false, act_idx); in __bfq_bic_change_cgroup() 766 struct bfq_queue *sync_bfqq = bic_to_bfqq(bic, true, act_idx); in __bfq_bic_change_cgroup() 770 bic_set_bfqq(bic, NULL, false, act_idx); in __bfq_bic_change_cgroup() 775 bfq_sync_bfqq_move(bfqd, sync_bfqq, bic, bfqg, act_idx); in __bfq_bic_change_cgroup() 708 bfq_sync_bfqq_move(struct bfq_data *bfqd, struct bfq_queue *sync_bfqq, struct bfq_io_cq *bic, struct bfq_group *bfqg, unsigned int act_idx) bfq_sync_bfqq_move() argument [all...] |
H A D | bfq-iosched.c | 696 unsigned int act_idx; in bfq_limit_depth() local 706 for (act_idx = 0; bic && act_idx < bfqd->num_actuators; act_idx++) { in bfq_limit_depth() 708 bic_to_bfqq(bic, op_is_sync(opf), act_idx); in bfq_limit_depth() 1835 unsigned int act_idx = bfq_actuator_index(bfqd, rq->bio); in bfq_bfqq_handle_idle_busy_switch() local 1837 bfqq->bic || RQ_BIC(rq)->bfqq_data[act_idx].stably_merged; in bfq_bfqq_handle_idle_busy_switch() 4893 unsigned int act_idx = bfqq->actuator_idx; in bfq_select_queue() local 4902 if (bfqq->bic && bfqq->bic->bfqq[0][act_idx] && in bfq_select_queue() 4903 bfq_bfqq_busy(bfqq->bic->bfqq[0][act_idx]) in bfq_select_queue() 5471 unsigned int act_idx; bfq_exit_icq() local 5590 bfq_init_bfqq(struct bfq_data *bfqd, struct bfq_queue *bfqq, struct bfq_io_cq *bic, pid_t pid, int is_sync, unsigned int act_idx) bfq_init_bfqq() argument 5660 bfq_async_queue_prio(struct bfq_data *bfqd, struct bfq_group *bfqg, int ioprio_class, int ioprio, int act_idx) bfq_async_queue_prio() argument 6745 unsigned int act_idx = bfq_actuator_index(bfqd, bio); bfq_get_bfqq_handle_split() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/microchip/vcap/ |
H A D | vcap_api.c | 1535 int sw_idx, ent_idx = 0, act_idx = 0; in vcap_read_rule() local 1551 VCAP_SEL_ACTION, act_idx, in vcap_read_rule() 1558 act_idx += ri->actionset_sw_regs; in vcap_read_rule() 1567 int sw_idx, ent_idx = 0, act_idx = 0; in vcap_write_rule() local 1580 VCAP_SEL_ACTION, act_idx, in vcap_write_rule() 1585 act_idx += ri->actionset_sw_regs; in vcap_write_rule()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 183 struct flow_action_entry *act, int act_idx, u8 *eth_addr, in bnxt_tc_parse_pedit() 182 bnxt_tc_parse_pedit(struct bnxt *bp, struct bnxt_tc_actions *actions, struct flow_action_entry *act, int act_idx, u8 *eth_addr, u8 *eth_addr_mask) bnxt_tc_parse_pedit() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.c | 184 struct flow_action_entry *act, int act_idx, u8 *eth_addr, in bnxt_tc_parse_pedit() 183 bnxt_tc_parse_pedit(struct bnxt *bp, struct bnxt_tc_actions *actions, struct flow_action_entry *act, int act_idx, u8 *eth_addr, u8 *eth_addr_mask) bnxt_tc_parse_pedit() argument
|