Searched refs:dyn_port (Results 1 – 4 of 4) sorted by relevance
504 struct ice_dynamic_port *dyn_port; in ice_devlink_create_sf_dev_port() local509 dyn_port = sf_dev->dyn_port; in ice_devlink_create_sf_dev_port()510 vsi = dyn_port->vsi; in ice_devlink_create_sf_dev_port()543 ice_activate_dynamic_port(struct ice_dynamic_port *dyn_port, in ice_activate_dynamic_port() argument548 if (dyn_port->active) in ice_activate_dynamic_port()551 err = ice_sf_eth_activate(dyn_port, extack); in ice_activate_dynamic_port()555 dyn_port->active = true; in ice_activate_dynamic_port()566 static void ice_deactivate_dynamic_port(struct ice_dynamic_port *dyn_port) in ice_deactivate_dynamic_port() argument568 if (!dyn_port->active) in ice_deactivate_dynamic_port()571 ice_sf_eth_deactivate(dyn_port); in ice_deactivate_dynamic_port()[all …]
45 int ice_devlink_create_sf_port(struct ice_dynamic_port *dyn_port);46 void ice_devlink_destroy_sf_port(struct ice_dynamic_port *dyn_port);
32 static int ice_sf_cfg_netdev(struct ice_dynamic_port *dyn_port, in ice_sf_cfg_netdev() argument35 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() local99 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()[all …]
12 struct ice_dynamic_port *dyn_port; member30 int ice_sf_eth_activate(struct ice_dynamic_port *dyn_port,32 void ice_sf_eth_deactivate(struct ice_dynamic_port *dyn_port);