]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0f33dcc989c9d623bfc132c82289c2f94e58ed3f
tree1b0d38cf3c3a45edb0ee66b5c5eae5218072acbc
parent580049995ccc789fdc3eea874e1c76e73bc84c79
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