]> www.infradead.org Git - users/jedix/linux-maple.git/commit
be2net: post full RXQ on interface enable
authorSuresh Reddy <Suresh.Reddy@avagotech.com>
Wed, 6 May 2015 09:30:36 +0000 (05:30 -0400)
committerManjunath Govindashetty <manjunath.govindashetty@oracle.com>
Fri, 16 Oct 2015 00:07:52 +0000 (17:07 -0700)
commitd78c4ac1c086662d5bb6c4a45d36223a9c16b1df
treebf33cd761207780c763d52d5598997cec9b39874
parent627e24b89d5160110cb105891e693c26a6cc3f38
be2net: post full RXQ on interface enable

When an RXQ is created in be_open(), the driver currently posts only
64 buffers. This sometimes results in packet drops when there is a traffic
burst as soon as the interface is enabled.
This patch fixes this problem by posting the full RXQ on interface enable.

Signed-off-by: Suresh Reddy <Suresh.Reddy@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