]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-fixes'
authorDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:39:44 +0000 (20:39 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 24 Aug 2017 03:39:50 +0000 (20:39 -0700)
commit33c16170c28eab3a068a45bfff88a73bee177555
treec85ad78817382c0ef0fb0c1a5ae38c9c4e71e808
parent7388eb01141f1c2cd03bca5842ee7e5e3003f511
parent93a2fbc202c926ec7acd824f44efefb55c5897ac
Merge branch 'nfp-fixes'

Jakub Kicinski says:

====================
nfp: fix SR-IOV deadlock and representor bugs

This series tackles the bug I've already tried to fix in commit
f3eaf992dfac ("nfp: allocate a private workqueue for driver work").
I created a separate workqueue to avoid possible deadlock, and
the lockdep error disappeared, coincidentally.  The way workqueues
are operating, separate workqueue doesn't necessarily mean separate
thread of execution.  Luckily we can safely forego the lock.

Second fix changes the order in which vNIC netdevs and representors
are created/destroyed.  The fix is kept small and should be sufficient
for net because of how flower uses representors, a more thorough fix
will be targeted at net-next.

Third fix avoids leaking mapped frame buffers if FW sent a frame with
unknown portid.
====================

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