Home
last modified time | relevance | path

Searched refs:rule_info (Results 1 – 5 of 5) sorted by relevance

/linux-6.3-rc2/drivers/net/ethernet/intel/ice/
A Dice_tc_lib.c351 rule_info->vlan_type = vlan_tpid; in ice_tc_fill_rules()
394 rule_info->vlan_type = in ice_tc_fill_rules()
695 rule_info.priority = 7; in ice_eswitch_add_tc_fltr()
699 rule_info.sw_act.src = hw->pf_id; in ice_eswitch_add_tc_fltr()
700 rule_info.rx = true; in ice_eswitch_add_tc_fltr()
703 rule_info.sw_act.src = vsi->idx; in ice_eswitch_add_tc_fltr()
704 rule_info.rx = false; in ice_eswitch_add_tc_fltr()
911 rule_info.sw_act.src = hw->pf_id; in ice_add_tc_flower_adv_fltr()
912 rule_info.rx = true; in ice_add_tc_flower_adv_fltr()
923 rule_info.rx = true; in ice_add_tc_flower_adv_fltr()
[all …]
A Dice_eswitch.c25 struct ice_adv_rule_info rule_info = { 0 }; in ice_eswitch_add_vf_mac_rule() local
39 rule_info.sw_act.flag |= ICE_FLTR_TX; in ice_eswitch_add_vf_mac_rule()
40 rule_info.sw_act.vsi_handle = ctrl_vsi->idx; in ice_eswitch_add_vf_mac_rule()
41 rule_info.sw_act.fltr_act = ICE_FWD_TO_Q; in ice_eswitch_add_vf_mac_rule()
42 rule_info.rx = false; in ice_eswitch_add_vf_mac_rule()
43 rule_info.sw_act.fwd_id.q_id = hw->func_caps.common_cap.rxq_first_id + in ice_eswitch_add_vf_mac_rule()
45 rule_info.flags_info.act |= ICE_SINGLE_ACT_LB_ENABLE; in ice_eswitch_add_vf_mac_rule()
46 rule_info.flags_info.act_valid = true; in ice_eswitch_add_vf_mac_rule()
47 rule_info.tun_type = ICE_SW_TUN_AND_NON_TUN; in ice_eswitch_add_vf_mac_rule()
49 err = ice_add_adv_rule(hw, list, lkups_cnt, &rule_info, in ice_eswitch_add_vf_mac_rule()
A Dice_switch.c5907 rinfo->tun_type == list_itr->rule_info.tun_type && in ice_find_adv_rule_entry()
5978 tmp_fltr.flag = m_entry->rule_info.sw_act.flag; in ice_adv_add_update_vsi_list()
6122 &m_entry->rule_info, in ice_add_adv_rule()
6234 adv_fltr->rule_info = *rinfo; in ice_add_adv_rule()
6378 tmp_fltr.flag = fm_list->rule_info.sw_act.flag; in ice_adv_rem_update_vsi_list()
6380 fm_list->rule_info.sw_act.fltr_act = ICE_FWD_TO_VSI; in ice_adv_rem_update_vsi_list()
6384 fm_list->rule_info.sw_act.fwd_id.hw_vsi_id = in ice_adv_rem_update_vsi_list()
6386 fm_list->rule_info.sw_act.vsi_handle = rem_vsi_handle; in ice_adv_rem_update_vsi_list()
6542 if (list_itr->rule_info.fltr_rule_id == in ice_rem_adv_rule_by_id()
6544 rinfo = list_itr->rule_info; in ice_rem_adv_rule_by_id()
[all …]
A Dice_switch.h304 struct ice_adv_rule_info rule_info; member
/linux-6.3-rc2/net/ethtool/
A Dcommon.c564 struct ethtool_rxnfc rule_info = { in ethtool_get_max_rxnfc_channel() local
569 err = ops->get_rxnfc(dev, &rule_info, NULL); in ethtool_get_max_rxnfc_channel()
573 if (rule_info.fs.ring_cookie != RX_CLS_FLOW_DISC && in ethtool_get_max_rxnfc_channel()
574 rule_info.fs.ring_cookie != RX_CLS_FLOW_WAKE && in ethtool_get_max_rxnfc_channel()
575 !(rule_info.flow_type & FLOW_RSS) && in ethtool_get_max_rxnfc_channel()
576 !ethtool_get_flow_spec_ring_vf(rule_info.fs.ring_cookie)) in ethtool_get_max_rxnfc_channel()
578 max_t(u64, max_ring, rule_info.fs.ring_cookie); in ethtool_get_max_rxnfc_channel()

Completed in 21 milliseconds