sfc: get the PF number and record in nic_data
authorDaniel Pieczko <dpieczko@solarflare.com>
Tue, 5 May 2015 23:57:53 +0000 (00:57 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 May 2015 20:16:47 +0000 (16:16 -0400)
commit1cd9ecbbe6e9261578510962ad899415053acc1d
treefd4b67771b4b2e9129e2379e31c8d1327995cf1a
parent6d8aaaf6f7980af1d228061ec08f6411e6bb2344
sfc: get the PF number and record in nic_data

Use MC_CMD_GET_FUNCTION_INFO to record the PF number in nic_data.
This will be needed when assigned vports to VFs.

Signed-off-by: Shradha Shah <sshah@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10.c
drivers/net/ethernet/sfc/nic.h