Home
last modified time | relevance | path

Searched refs:dyn_port (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/intel/ice/devlink/
Ddevlink_port.c504 struct ice_dynamic_port *dyn_port; in ice_devlink_create_sf_dev_port() local
509 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() argument
548 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() argument
568 if (!dyn_port->active) in ice_deactivate_dynamic_port()
571 ice_sf_eth_deactivate(dyn_port); in ice_deactivate_dynamic_port()
[all …]
Ddevlink_port.h45 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);
/linux-6.12.1/drivers/net/ethernet/intel/ice/
Dice_sf_eth.c32 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()
[all …]
Dice_sf_eth.h12 struct ice_dynamic_port *dyn_port; member
30 int ice_sf_eth_activate(struct ice_dynamic_port *dyn_port,
32 void ice_sf_eth_deactivate(struct ice_dynamic_port *dyn_port);