]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitd434d02f7e7c24c721365fd594ed781acb18e0da
treea1ecd19e8bd97500917ded38bd0da39658cb9634
parentccd7c7ce167a21dbf2b698ffcf00f11d96d44f9b
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: 1408cc1fa48c ("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