sfc: set the port-id when calling MC_CMD_MAC_STATS
authorDaniel Pieczko <dpieczko@solarflare.com>
Tue, 2 Jun 2015 10:38:49 +0000 (11:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Jun 2015 19:57:28 +0000 (12:57 -0700)
commit0a2ab4d988d75a42f3997343d1f0a767b9fdec3d
tree1b0d38cf3c3a45edb0ee66b5c5eae5218072acbc
parente80ca0139929a37a8d2b7fc90625aa5107066f57
sfc: set the port-id when calling MC_CMD_MAC_STATS

The port-id must be known so that the RMON level can be
set for the collection of vadapter stats.

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