]> 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)
commitdc106a1f1a7864242508b7e44e6c3c103e25e366
treec85ad78817382c0ef0fb0c1a5ae38c9c4e71e808
parent900b77dba9c2700928270520525c6b5abf312a42
parentb36f0713a066014afd3a4f4e22136e0d3082c923
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
fadbb6550d9e ("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>