summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/siena.c
diff options
context:
space:
mode:
authorDaniel Pieczko <dpieczko@solarflare.com>2015-05-06 01:57:14 +0200
committerDavid S. Miller <davem@davemloft.net>2015-05-09 22:16:47 +0200
commit45b2449e3f7d870bdd06c6a8557e8d95d59f8737 (patch)
treebb07cb86bc1a11b1cf3987ff48be648ba400c287 /drivers/net/ethernet/sfc/siena.c
parentsfc: Record [rt]x_dpcpu_fw_id in EF10 nic_data (diff)
downloadlinux-45b2449e3f7d870bdd06c6a8557e8d95d59f8737.tar.xz
linux-45b2449e3f7d870bdd06c6a8557e8d95d59f8737.zip
sfc: record the PF's vport ID in nic_data
The default port ID of EVB_PORT_ID_ASSIGNED is a "magic" number for the MCFW to select the physical port of the PF. If other vswitches and vports are created on top of the default firmware configuration, the ID of the newly created vport is then required when passed to MCDI commands. Currently, this doesn't happen so the vport_id is never changed, but a subsequent patch will change this behaviour so that other vswitches and vports are created. The vport_id recorded in nic_data is only relevant for PFs. VFs will have their vports created by their parent PF, and in that case the parent PF will record the vport ID of each VF. For a VF, nic_data->vport_id is expected to remain at the default value. Signed-off-by: Shradha Shah <sshah@solarflare.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/siena.c')
0 files changed, 0 insertions, 0 deletions