]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Read stats for only available channels
authorHariprasad Shenai <hariprasad@chelsio.com>
Tue, 7 Jul 2015 16:19:20 +0000 (21:49 +0530)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Jul 2015 23:13:54 +0000 (16:13 -0700)
commit27df56b1c44cbfc6ba22739da95f14dffe2eacfe
treebf10dec07e6bbb06e6b69b9c82e22f199bca00c6
parent487eb67ffc38377fbdb3972356f500c38e89d871
cxgb4: Read stats for only available channels

Updating the driver to read the stats of only available channels. T6 and
later has only 2 channels

Signed-off-by: Hariprasad Shenai <hariprasad@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/chelsio/cxgb4/t4_hw.c