Lines Matching refs:vsi_idx

121 ice_eswitch_br_fwd_rule_create(struct ice_hw *hw, int vsi_idx, int port_type,  in ice_eswitch_br_fwd_rule_create()  argument
144 ice_eswitch_br_egress_rule_setup(&rule_info, vsi_idx); in ice_eswitch_br_fwd_rule_create()
148 vsi_idx); in ice_eswitch_br_fwd_rule_create()
182 ice_eswitch_br_guard_rule_create(struct ice_hw *hw, u16 vsi_idx, in ice_eswitch_br_guard_rule_create() argument
208 rule_info.sw_act.vsi_handle = vsi_idx; in ice_eswitch_br_guard_rule_create()
229 ice_eswitch_br_flow_create(struct device *dev, struct ice_hw *hw, int vsi_idx, in ice_eswitch_br_flow_create() argument
240 fwd_rule = ice_eswitch_br_fwd_rule_create(hw, vsi_idx, port_type, mac, in ice_eswitch_br_flow_create()
250 guard_rule = ice_eswitch_br_guard_rule_create(hw, vsi_idx, mac, vid); in ice_eswitch_br_flow_create()
305 ice_esw_br_port_vlan_lookup(struct ice_esw_br *bridge, u16 vsi_idx, u16 vid) in ice_esw_br_port_vlan_lookup() argument
312 port = xa_load(&bridge->ports, vsi_idx); in ice_esw_br_port_vlan_lookup()
314 dev_info(dev, "Bridge port lookup failed (vsi=%u)\n", vsi_idx); in ice_esw_br_port_vlan_lookup()
321 vsi_idx); in ice_esw_br_port_vlan_lookup()
408 vlan = ice_esw_br_port_vlan_lookup(bridge, br_port->vsi_idx, in ice_eswitch_br_fdb_entry_create()
427 flow = ice_eswitch_br_flow_create(dev, hw, br_port->vsi_idx, in ice_eswitch_br_fdb_entry_create()
670 port->vsi_idx, port->pvid); in ice_eswitch_br_set_pvid()
733 ice_eswitch_br_port_vlan_add(struct ice_esw_br *bridge, u16 vsi_idx, u16 vid, in ice_eswitch_br_port_vlan_add() argument
739 port = xa_load(&bridge->ports, vsi_idx); in ice_eswitch_br_port_vlan_add()
746 port->vsi_idx, port->pvid); in ice_eswitch_br_port_vlan_add()
761 vid, vsi_idx); in ice_eswitch_br_port_vlan_add()
769 ice_eswitch_br_port_vlan_del(struct ice_esw_br *bridge, u16 vsi_idx, u16 vid) in ice_eswitch_br_port_vlan_del() argument
774 port = xa_load(&bridge->ports, vsi_idx); in ice_eswitch_br_port_vlan_del()
801 br_port->vsi_idx, vlan->vid, in ice_eswitch_br_port_obj_add()
822 ice_eswitch_br_port_vlan_del(br_port->bridge, br_port->vsi_idx, in ice_eswitch_br_port_obj_del()
901 xa_erase(&bridge->ports, br_port->vsi_idx); in ice_eswitch_br_port_deinit()
934 br_port->vsi_idx = br_port->vsi->idx; in ice_eswitch_br_vf_repr_port_init()
938 err = xa_insert(&bridge->ports, br_port->vsi_idx, br_port, GFP_KERNEL); in ice_eswitch_br_vf_repr_port_init()
959 br_port->vsi_idx = br_port->vsi->idx; in ice_eswitch_br_uplink_port_init()
963 err = xa_insert(&bridge->ports, br_port->vsi_idx, br_port, GFP_KERNEL); in ice_eswitch_br_uplink_port_init()