]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Enlarge the dorq threshold for VFs
authorAriel Elior <ariel.elior@qlogic.com>
Thu, 12 Jun 2014 04:55:32 +0000 (07:55 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jun 2014 17:28:18 +0000 (10:28 -0700)
commita50eccfb98679021dadcac1be0703756e849ec83
tree555f786ec35500d64f95c03605bc041a178c2543
parent18d9998d29c7c5825053b04caeb5087b03450108
bnx2x: Enlarge the dorq threshold for VFs

A malicious VF might try to starve the other VFs & PF by creating
contineous doorbell floods. In order to negate this, HW has a threshold of
doorbells per client, which will stop the client doorbells from arriving
if crossed.

The threshold currently configured for VFs is too low - under extreme traffic
scenarios, it's possible for a VF to reach the threshold and thus for its
fastpath to stop working.

Signed-off-by: Ariel Elior <ariel.elior@qlogic.com>
Signed-off-by: Yuval Mintz <yuval.mintz@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c