Searched refs:rule_info (Results 1 – 6 of 6) sorted by relevance
/linux/drivers/net/ethernet/intel/ice/ |
H A D | ice_tc_lib.c | 377 struct ice_adv_rule_info *rule_info, in ice_tc_fill_rules() argument 385 rule_info->vlan_type = vlan_tpid; in ice_tc_fill_rules() 395 rule_info->tun_type = ice_sw_type_from_tunnel(tc_fltr->tunnel_type); in ice_tc_fill_rules() 464 rule_info->vlan_type = in ice_tc_fill_rules() 774 struct ice_adv_rule_info rule_info = { 0 }; in ice_eswitch_add_tc_fltr() local 793 i = ice_tc_fill_rules(hw, flags, fltr, list, &rule_info, NULL); in ice_eswitch_add_tc_fltr() 799 rule_info.sw_act.fltr_act = fltr->action.fltr_act; in ice_eswitch_add_tc_fltr() 801 rule_info.sw_act.vsi_handle = fltr->dest_vsi->idx; in ice_eswitch_add_tc_fltr() 808 rule_info.priority = 7; in ice_eswitch_add_tc_fltr() 809 rule_info.flags_info.act_valid = true; in ice_eswitch_add_tc_fltr() [all …]
|
H A D | ice_eswitch_br.c | 70 ice_eswitch_br_ingress_rule_setup(struct ice_adv_rule_info *rule_info, in ice_eswitch_br_ingress_rule_setup() argument 73 rule_info->sw_act.vsi_handle = vf_vsi_idx; in ice_eswitch_br_ingress_rule_setup() 74 rule_info->sw_act.flag |= ICE_FLTR_RX; in ice_eswitch_br_ingress_rule_setup() 75 rule_info->sw_act.src = pf_id; in ice_eswitch_br_ingress_rule_setup() 76 rule_info->priority = 2; in ice_eswitch_br_ingress_rule_setup() 80 ice_eswitch_br_egress_rule_setup(struct ice_adv_rule_info *rule_info, in ice_eswitch_br_egress_rule_setup() argument 83 rule_info->sw_act.vsi_handle = pf_vsi_idx; in ice_eswitch_br_egress_rule_setup() 84 rule_info->sw_act.flag |= ICE_FLTR_TX; in ice_eswitch_br_egress_rule_setup() 85 rule_info->flags_info.act = ICE_SINGLE_ACT_LAN_ENABLE; in ice_eswitch_br_egress_rule_setup() 86 rule_info->flags_info.act_valid = true; in ice_eswitch_br_egress_rule_setup() [all …]
|
H A D | ice_switch.c | 5884 if (ice_rules_equal(rinfo, &list_itr->rule_info) && in ice_find_adv_rule_entry() 5954 tmp_fltr.flag = m_entry->rule_info.sw_act.flag; in ice_adv_add_update_vsi_list() 6133 &m_entry->rule_info, in ice_add_adv_rule() 6137 added_entry->rule_id = m_entry->rule_info.fltr_rule_id; in ice_add_adv_rule() 6252 adv_fltr->rule_info = *rinfo; in ice_add_adv_rule() 6253 adv_fltr->rule_info.fltr_rule_id = le16_to_cpu(s_rule->index); in ice_add_adv_rule() 6265 added_entry->rule_id = adv_fltr->rule_info.fltr_rule_id; in ice_add_adv_rule() 6357 if (fm_list->rule_info.sw_act.fltr_act != ICE_FWD_TO_VSI_LIST || in ice_adv_rem_update_vsi_list() 6366 vsi_list_id = fm_list->rule_info.sw_act.fwd_id.vsi_list_id; in ice_adv_rem_update_vsi_list() 6394 tmp_fltr.flag = fm_list->rule_info.sw_act.flag; in ice_adv_rem_update_vsi_list() [all …]
|
H A D | ice_switch.h | 306 struct ice_adv_rule_info rule_info; member
|
/linux/net/ethtool/ |
H A D | common.c | 580 struct ethtool_rxnfc rule_info = { in ethtool_get_max_rxnfc_channel() local 585 err = ops->get_rxnfc(dev, &rule_info, NULL); in ethtool_get_max_rxnfc_channel() 589 if (rule_info.fs.ring_cookie != RX_CLS_FLOW_DISC && in ethtool_get_max_rxnfc_channel() 590 rule_info.fs.ring_cookie != RX_CLS_FLOW_WAKE && in ethtool_get_max_rxnfc_channel() 591 !ethtool_get_flow_spec_ring_vf(rule_info.fs.ring_cookie)) { in ethtool_get_max_rxnfc_channel() 592 u64 ring = rule_info.fs.ring_cookie; in ethtool_get_max_rxnfc_channel() 594 if (rule_info.flow_type & FLOW_RSS) { in ethtool_get_max_rxnfc_channel() 598 rule_info.rss_context); in ethtool_get_max_rxnfc_channel() 732 struct ethtool_rxnfc rule_info = { in ethtool_check_rss_ctx_busy() local 737 rc = ops->get_rxnfc(dev, &rule_info, NULL); in ethtool_check_rss_ctx_busy() [all …]
|
/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_adminq.c | 1376 void *rule_info; in gve_adminq_process_flow_rules_query() local 1380 rule_info = (void *)(descriptor + 1); in gve_adminq_process_flow_rules_query() 1390 memcpy(flow_rules_cache->rules_cache, rule_info, rule_info_len); in gve_adminq_process_flow_rules_query() 1400 memcpy(flow_rules_cache->rule_ids_cache, rule_info, rule_info_len); in gve_adminq_process_flow_rules_query()
|