]> git.baikalelectronics.ru Git - kernel.git/commit
bnx2x: Configurable pause scheme
authorEilon Greenstein <eilong@broadcom.com>
Wed, 12 Aug 2009 08:23:26 +0000 (08:23 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Aug 2009 06:02:42 +0000 (23:02 -0700)
commit7e8abf82d4005b99f94d600e224e4035ea2f44f6
tree8fcac1b43c5a6d4015abee6ebe16f8ff2e124a60
parent1fbd0cafc5dd20132bce7a32452957c99a340c2d
bnx2x: Configurable pause scheme

When a given ring is running out of space, the FW can send pause towards the
network. When working with multi-queues, when one queue is getting out of space
it can block all other queues. The preferred scheme is to send pause frames only
when running out of the shared internal chip buffers and if a given queue cannot
place a packet on the host, it will drop it. Since some users might want to work
in drop-less mode, allowing changing the behavior as a module parameter.

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bnx2x.h
drivers/net/bnx2x_main.c