Lines Matching refs:dyn_port

32 static int ice_sf_cfg_netdev(struct ice_dynamic_port *dyn_port,  in ice_sf_cfg_netdev()  argument
35 struct ice_vsi *vsi = dyn_port->vsi; in ice_sf_cfg_netdev()
58 eth_hw_addr_set(netdev, dyn_port->hw_addr); in ice_sf_cfg_netdev()
59 ether_addr_copy(netdev->perm_addr, dyn_port->hw_addr); in ice_sf_cfg_netdev()
98 struct ice_dynamic_port *dyn_port = sf_dev->dyn_port; in ice_sf_dev_probe() local
99 struct ice_vsi *vsi = dyn_port->vsi; in ice_sf_dev_probe()
100 struct ice_pf *pf = dyn_port->pf; in ice_sf_dev_probe()
127 vsi->sf = dyn_port; in ice_sf_dev_probe()
129 ice_eswitch_update_repr(&dyn_port->repr_id, vsi); in ice_sf_dev_probe()
137 err = ice_sf_cfg_netdev(dyn_port, &sf_dev->priv->devlink_port); in ice_sf_dev_probe()
143 err = devl_port_fn_devlink_set(&dyn_port->devlink_port, devlink); in ice_sf_dev_probe()
154 dyn_port->attached = true; in ice_sf_dev_probe()
179 struct ice_dynamic_port *dyn_port = sf_dev->dyn_port; in ice_sf_dev_remove() local
180 struct ice_vsi *vsi = dyn_port->vsi; in ice_sf_dev_remove()
195 dyn_port->attached = false; in ice_sf_dev_remove()
260 ice_sf_eth_activate(struct ice_dynamic_port *dyn_port, in ice_sf_eth_activate() argument
263 struct ice_pf *pf = dyn_port->pf; in ice_sf_eth_activate()
284 sf_dev->dyn_port = dyn_port; in ice_sf_eth_activate()
302 dyn_port->sf_dev = sf_dev; in ice_sf_eth_activate()
323 void ice_sf_eth_deactivate(struct ice_dynamic_port *dyn_port) in ice_sf_eth_deactivate() argument
325 struct ice_sf_dev *sf_dev = dyn_port->sf_dev; in ice_sf_eth_deactivate()