]> git.baikalelectronics.ru Git - kernel.git/commit
qede: Decouple ethtool caps from qed
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 31 Oct 2016 05:14:24 +0000 (07:14 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Oct 2016 19:52:35 +0000 (15:52 -0400)
commit527ca334e9a30864841d709200b081919a149e16
treef2fac8ad9e4f9cbde4169e83c337be553839510f
parentf0b36fb366bbb3ccc52f28388cf29241313c984b
qede: Decouple ethtool caps from qed

While the qed_lm_maps is closely tied with the QED_LM_* defines,
when iterating over the array use actual size instead of the qed
define to prevent future possible issues.

Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qede/qede_ethtool.c