Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/ethernet/freescale/dpaa2/
Ddpaa2-ethtool.c548 struct dpni_rule_cfg rule_cfg = { 0 }; in dpaa2_eth_do_cls_rule() local
559 rule_cfg.key_size = dpaa2_eth_cls_key_size(DPAA2_ETH_DIST_ALL); in dpaa2_eth_do_cls_rule()
562 key_buf = kzalloc(rule_cfg.key_size * 2, GFP_KERNEL); in dpaa2_eth_do_cls_rule()
567 err = dpaa2_eth_prep_cls_rule(fs, key_buf, key_buf + rule_cfg.key_size, &fields); in dpaa2_eth_do_cls_rule()
594 rule_cfg.key_size = dpaa2_eth_cls_key_size(fields); in dpaa2_eth_do_cls_rule()
597 key_iova = dma_map_single(dev, key_buf, rule_cfg.key_size * 2, in dpaa2_eth_do_cls_rule()
604 rule_cfg.key_iova = key_iova; in dpaa2_eth_do_cls_rule()
606 rule_cfg.mask_iova = key_iova + rule_cfg.key_size; in dpaa2_eth_do_cls_rule()
617 i, fs->location, &rule_cfg, in dpaa2_eth_do_cls_rule()
622 &rule_cfg); in dpaa2_eth_do_cls_rule()
[all …]
/linux-5.19.10/drivers/net/ethernet/intel/iavf/
Diavf_fdir.c529 proto_hdrs = &vc_msg->rule_cfg.proto_hdrs; in iavf_fill_fdir_add_msg()
595 vc_msg->rule_cfg.action_set.count = 1; in iavf_fill_fdir_add_msg()
596 vc_msg->rule_cfg.action_set.actions[0].type = fltr->action; in iavf_fill_fdir_add_msg()
597 vc_msg->rule_cfg.action_set.actions[0].act_conf.queue.index = fltr->q_index; in iavf_fill_fdir_add_msg()
/linux-5.19.10/drivers/net/ethernet/intel/ice/
Dice_virtchnl_fdir.c294 struct virtchnl_fdir_rule *rule = &fltr->rule_cfg; in ice_vc_fdir_set_flow_fld()
733 struct virtchnl_proto_hdrs *proto = &fltr->rule_cfg.proto_hdrs; in ice_vc_fdir_parse_pattern()
957 struct virtchnl_filter_action_set *as = &fltr->rule_cfg.action_set; in ice_vc_fdir_parse_action()
1031 struct virtchnl_proto_hdrs *proto = &fltr->rule_cfg.proto_hdrs; in ice_vc_validate_fdir_fltr()
/linux-5.19.10/include/linux/avf/
Dvirtchnl.h1323 struct virtchnl_fdir_rule rule_cfg; /* INPUT */ member