qed: Correct TM ILT lines in presence of VFs
authorMintz, Yuval <Yuval.Mintz@cavium.com>
Mon, 3 Apr 2017 09:21:11 +0000 (12:21 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Apr 2017 02:16:37 +0000 (19:16 -0700)
commit70566b42e94ad7de1328272c4b8454320f794a10
treefac1cca842adb96586bf06c624cb8310b4636db0
parent44531ba45dbf3c23cc7ae0934ec9b33ef340ac56
qed: Correct TM ILT lines in presence of VFs

As of today there's no protocol supported that requires
support from the TM hardware block and enables SRIOV,
but we should still correct the calculation to reflect
the lines required for such future VFs instead of changing
the PF's own lines.

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