Lines Matching refs:eswitch

22 	struct ice_vsi *uplink_vsi = pf->eswitch.uplink_vsi;  in ice_eswitch_setup_env()
116 struct ice_vsi *uplink_vsi = pf->eswitch.uplink_vsi; in ice_eswitch_setup_repr()
190 repr = xa_load(&pf->eswitch.reprs, *repr_id); in ice_eswitch_update_repr()
207 xa_erase(&pf->eswitch.reprs, repr->id); in ice_eswitch_update_repr()
209 if (xa_insert(&pf->eswitch.reprs, repr->id, repr, GFP_KERNEL)) in ice_eswitch_update_repr()
273 struct ice_vsi *uplink_vsi = pf->eswitch.uplink_vsi; in ice_eswitch_release_env()
308 pf->eswitch.uplink_vsi = uplink_vsi; in ice_eswitch_enable_switchdev()
316 pf->eswitch.is_running = true; in ice_eswitch_enable_switchdev()
334 pf->eswitch.is_running = false; in ice_eswitch_disable_switchdev()
362 xa_destroy(&pf->eswitch.reprs); in ice_eswitch_mode_set()
375 xa_init(&pf->eswitch.reprs); in ice_eswitch_mode_set()
425 xa_for_each(&pf->eswitch.reprs, id, repr) in ice_eswitch_start_all_tx_queues()
441 xa_for_each(&pf->eswitch.reprs, id, repr) in ice_eswitch_stop_all_tx_queues()
463 if (xa_empty(&pf->eswitch.reprs)) { in ice_eswitch_attach()
479 err = xa_insert(&pf->eswitch.reprs, repr->id, repr, GFP_KERNEL); in ice_eswitch_attach()
494 if (xa_empty(&pf->eswitch.reprs)) in ice_eswitch_attach()
557 xa_erase(&pf->eswitch.reprs, repr->id); in ice_eswitch_detach()
559 if (xa_empty(&pf->eswitch.reprs)) in ice_eswitch_detach()
565 if (xa_empty(&pf->eswitch.reprs)) { in ice_eswitch_detach()
585 struct ice_repr *repr = xa_load(&pf->eswitch.reprs, vf->repr_id); in ice_eswitch_detach_vf()
603 struct ice_repr *repr = xa_load(&pf->eswitch.reprs, sf->repr_id); in ice_eswitch_detach_sf()
622 struct ice_eswitch *eswitch = &rx_ring->vsi->back->eswitch; in ice_eswitch_get_target() local
627 repr = xa_load(&eswitch->reprs, le16_to_cpu(desc->src_vsi)); in ice_eswitch_get_target()