]> git.baikalelectronics.ru Git - kernel.git/commit
net: qed: fix excessive QM ILT lines consumption
authorAlexander Lobakin <alobakin@marvell.com>
Tue, 23 Jun 2020 13:51:33 +0000 (16:51 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Jun 2020 22:01:16 +0000 (15:01 -0700)
commitd3132b67bde518b9b07beb9bf9723beecea1a588
treea1ecd19e8bd97500917ded38bd0da39658cb9634
parentffa4080931eb3ac4f640310446b6e094793b72ff
net: qed: fix excessive QM ILT lines consumption

This is likely a copy'n'paste mistake. The amount of ILT lines to
reserve for a single VF was being multiplied by the total VFs count.
This led to a huge redundancy in reservation and potential lines
drainouts.

Fixes: 797fbcd52983 ("qed: Introduce VFs")
Signed-off-by: Alexander Lobakin <alobakin@marvell.com>
Signed-off-by: Igor Russkikh <irusskikh@marvell.com>
Signed-off-by: Michal Kalderon <michal.kalderon@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qed/qed_cxt.c