Home
last modified time | relevance | path

Searched refs:rule_cfg (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c578 struct dpni_rule_cfg rule_cfg = { 0 }; in dpaa2_eth_do_cls_rule() local
589 rule_cfg.key_size = dpaa2_eth_cls_key_size(DPAA2_ETH_DIST_ALL); in dpaa2_eth_do_cls_rule()
592 key_buf = kzalloc(rule_cfg.key_size * 2, GFP_KERNEL); in dpaa2_eth_do_cls_rule()
597 err = dpaa2_eth_prep_cls_rule(fs, key_buf, key_buf + rule_cfg.key_size, &fields); in dpaa2_eth_do_cls_rule()
624 rule_cfg.key_size = dpaa2_eth_cls_key_size(fields); in dpaa2_eth_do_cls_rule()
627 key_iova = dma_map_single(dev, key_buf, rule_cfg.key_size * 2, in dpaa2_eth_do_cls_rule()
634 rule_cfg.key_iova = key_iova; in dpaa2_eth_do_cls_rule()
636 rule_cfg.mask_iova = key_iova + rule_cfg.key_size; in dpaa2_eth_do_cls_rule()
647 i, fs->location, &rule_cfg, in dpaa2_eth_do_cls_rule()
652 &rule_cfg); in dpaa2_eth_do_cls_rule()
[all …]
/linux-6.6.21/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c598 proto_hdrs = &vc_msg->rule_cfg.proto_hdrs; in iavf_fill_fdir_add_msg()
664 vc_msg->rule_cfg.action_set.count = 1; in iavf_fill_fdir_add_msg()
665 vc_msg->rule_cfg.action_set.actions[0].type = fltr->action; in iavf_fill_fdir_add_msg()
666 vc_msg->rule_cfg.action_set.actions[0].act_conf.queue.index = fltr->q_index; in iavf_fill_fdir_add_msg()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
Dice_virtchnl_fdir.c294 struct virtchnl_fdir_rule *rule = &fltr->rule_cfg; in ice_vc_fdir_set_flow_fld()
821 struct virtchnl_proto_hdrs *proto = &fltr->rule_cfg.proto_hdrs; in ice_vc_fdir_parse_pattern()
1045 struct virtchnl_filter_action_set *as = &fltr->rule_cfg.action_set; in ice_vc_fdir_parse_action()
1119 struct virtchnl_proto_hdrs *proto = &fltr->rule_cfg.proto_hdrs; in ice_vc_validate_fdir_fltr()
/linux-6.6.21/include/linux/avf/
Dvirtchnl.h1357 struct virtchnl_fdir_rule rule_cfg; /* INPUT */ member