Lines Matching defs:sw

70  * @recp_list: pointer to sw recipe list
1359 * @m_ent: the management entry for which sw marker needs to be added
1360 * @sw_marker: sw marker to tag the Rx descriptor with
1564 struct ice_switch_info *sw = hw->switch_info;
1577 LIST_ADD(&v_map->list_entry, &sw->vsi_list_map_head);
1782 struct ice_switch_info *sw;
1785 sw = hw->switch_info;
1787 rule_lock = &sw->recp_list[ICE_SW_LKUP_MAC].filt_rule_lock;
1788 rule_head = &sw->recp_list[ICE_SW_LKUP_MAC].filt_rules;
2347 * @sw: pointer to switch info struct for which function add rule
2358 struct ice_switch_info *sw, u8 lport)
2360 struct ice_sw_recipe *recp_list = &sw->recp_list[ICE_SW_LKUP_MAC];
2674 * @sw: pointer to switch info struct for which function add rule
2678 struct ice_switch_info *sw)
2683 recp_list = &sw->recp_list[ICE_SW_LKUP_VLAN];
2716 * @sw: pointer to switch info struct for which function add rule
2725 struct ice_switch_info *sw, u8 lport)
2735 recp_list = &sw->recp_list[l_type];
2771 * @sw: pointer to switch info struct for which function add rule
2775 struct ice_switch_info *sw)
2790 recp_list = &sw->recp_list[l_type];
2917 struct ice_switch_info *sw = hw->switch_info;
2923 rule_head = &sw->recp_list[i].filt_rules;
2924 if (!sw->recp_list[i].adv_rule)
3319 * @sw: pointer to switch info struct for which function add rule
3325 struct ice_switch_info *sw, enum ice_sw_lkup_type lkup)
3337 rule_head = &sw->recp_list[lkup].filt_rules;
3338 rule_lock = &sw->recp_list[lkup].filt_rule_lock;
3428 * @sw: pointer to switch info struct for which function add rule
3433 struct ice_switch_info *sw)
3454 rule_head = &sw->recp_list[recipe_id].filt_rules;
3455 rule_lock = &sw->recp_list[recipe_id].filt_rule_lock;
3528 * @sw: pointer to switch info struct for which function add rule
3533 struct ice_switch_info *sw)
3643 recp_list = &sw->recp_list[recipe_id];
3681 * @sw: pointer to switch info struct for which function add rule
3688 u8 lport, struct ice_switch_info *sw)
3698 vlan_lock = &sw->recp_list[ICE_SW_LKUP_VLAN].filt_rule_lock;
3699 vlan_head = &sw->recp_list[ICE_SW_LKUP_VLAN].filt_rules;
3720 vlan_id, sw);
3724 lport, sw);
3826 * @sw: pointer to switch info struct
3830 struct ice_switch_info *sw)
3835 sw->recp_list, ICE_SW_LKUP_MAC);
3837 sw->recp_list, ICE_SW_LKUP_MAC_VLAN);
3839 sw->recp_list, ICE_SW_LKUP_PROMISC);
3841 sw->recp_list, ICE_SW_LKUP_VLAN);
3843 sw->recp_list, ICE_SW_LKUP_DFLT);
3845 sw->recp_list, ICE_SW_LKUP_ETHERTYPE);
3847 sw->recp_list, ICE_SW_LKUP_ETHERTYPE_MAC);
3849 sw->recp_list, ICE_SW_LKUP_PROMISC_VLAN);
3961 * ice_add_mac_with_sw_marker - add filter with sw marker
3964 * @sw_marker: sw marker to tag the Rx descriptor with
4017 * sw marker large action
4112 /* Don't enable counter for a filter for which sw marker was enabled */
4234 struct ice_switch_info *sw = hw->switch_info;
4239 struct LIST_HEAD_TYPE *head = &sw->recp_list[i].filt_rules;
4252 * @sw: pointer to switch info struct for which function replays filters
4262 struct ice_switch_info *sw, u16 vsi_handle, u8 recp_id,
4272 recp_list = &sw->recp_list[recp_id];
4325 struct ice_switch_info *sw = NULL;
4329 sw = hw->switch_info;
4335 head = &sw->recp_list[i].filt_replay_rules;
4336 if (!sw->recp_list[i].adv_rule)
4337 status = ice_replay_vsi_fltr(hw, pi, sw, vsi_handle, i,
4349 * @sw: pointer to switch info struct for which function removes filters
4353 void ice_rm_sw_replay_rule_info(struct ice_hw *hw, struct ice_switch_info *sw)
4357 if (!sw)
4361 if (!LIST_EMPTY(&sw->recp_list[i].filt_replay_rules)) {
4364 l_head = &sw->recp_list[i].filt_replay_rules;
4365 if (!sw->recp_list[i].adv_rule)