]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: post buffers before destroying RXQs in Lancer
authorKalesh AP <kalesh.purayil@avagotech.com>
Wed, 5 Aug 2015 07:27:49 +0000 (03:27 -0400)
committerManjunath Govindashetty <manjunath.govindashetty@oracle.com>
Fri, 16 Oct 2015 00:07:55 +0000 (17:07 -0700)
commit0990046a74da04f415c58a5fa5a66b99f73c8279
treeb0e6e799ad208e11a89be5e8f5b686b00f2678fd
parent7c2e5e75e6a9ba777e60fdbb577a4754df8391e7
be2net: post buffers before destroying RXQs in Lancer

An RX stall issue was seen on Lancer adapters, when RXQs are destroyed
while they are in an "out of buffer" state. This patch fixes this issue
by posting 64 buffers to each RXQ before destroying them in the close path.
This is done after ensuring that no more new packets are selected for
transfer to the RXQs by disabling interface filters.

Signed-off-by: Kalesh AP <kalesh.purayil@avagotech.com>
Signed-off-by: Sathya Perla <sathya.perla@avagotech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/emulex/benet/be_main.c