Searched refs:rule_cfg (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/net/ethernet/freescale/dpaa2/ |
H A D | dpaa2-ethtool.c | 578 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 …]
|
/openbmc/linux/drivers/net/ethernet/intel/iavf/ |
H A D | iavf_fdir.c | 599 proto_hdrs = &vc_msg->rule_cfg.proto_hdrs; in iavf_fill_fdir_add_msg() 665 vc_msg->rule_cfg.action_set.count = 1; in iavf_fill_fdir_add_msg() 666 vc_msg->rule_cfg.action_set.actions[0].type = fltr->action; in iavf_fill_fdir_add_msg() 667 vc_msg->rule_cfg.action_set.actions[0].act_conf.queue.index = fltr->q_index; in iavf_fill_fdir_add_msg()
|
/openbmc/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_virtchnl_fdir.c | 291 struct virtchnl_fdir_rule *rule = &fltr->rule_cfg; in ice_vc_fdir_set_flow_fld() 820 struct virtchnl_proto_hdrs *proto = &fltr->rule_cfg.proto_hdrs; in ice_vc_fdir_parse_pattern() 1044 struct virtchnl_filter_action_set *as = &fltr->rule_cfg.action_set; in ice_vc_fdir_parse_action() 1118 struct virtchnl_proto_hdrs *proto = &fltr->rule_cfg.proto_hdrs; in ice_vc_validate_fdir_fltr()
|
/openbmc/linux/include/linux/avf/ |
H A D | virtchnl.h | 1362 struct virtchnl_fdir_rule rule_cfg; /* INPUT */ member
|