]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'be2net-fixes'
authorDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 18:53:06 +0000 (11:53 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 18:53:06 +0000 (11:53 -0700)
commit38c2ea6b14132c8aa393555fb48e0f0d52a355fa
tree01c2c799a14784e6d060d94a360c7a4d47bcb66d
parent158189d4e2af0fc6eaad7e78e15a9fff3172f95d
parent1060df3294e676cbe46ff96725d8484224246d22
Merge branch 'be2net-fixes'

Sathya Perla says:

====================
be2net: patch set

This patch set contains 2 driver fixes to a Lancer HW issue and a fix
to a double free bug. Pls apply to the "net" tree. Thanks!

Patch 1 now enables filters only after creating RXQs. This is done as
HW issues were observed on Lancer adapters if filters
(flags, mac addrs etc) are enabled *before* creating RXQs. This patch
changes the driver design by enabling filters in be_open() --
instead of be_setup() -- after RXQs are created and buffers posted.

Patch 2 fixes an RX stall issue that 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.

Patch 3 protects eqo->affinity_mask variable from being freed twice and
resulting in a crash.  It's now freed only when EQs haven't yet been
destroyed.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>