rocker: mark neigh update event processing as 'no wait'
authorScott Feldman <sfeldma@gmail.com>
Sat, 13 Jun 2015 04:35:47 +0000 (21:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Jun 2015 23:06:48 +0000 (16:06 -0700)
commit02a9fbfc878ec3e4c17b11d6ac41dfe86667b732
tree1a7a041bd5d57f709f5736395425b297b14f1f58
parent179f9a2590a9f585fe052f87f10a83a84613ee43
rocker: mark neigh update event processing as 'no wait'

Neigh update event handler runs in a context where we can't sleep, so mark
processing in driver with ROCKER_OP_FLAG_NOWAIT.  NOWAIT will use
GFP_ATOMIC for allocations and will queue cmds to the device's cmd ring but
will not wait (sleep) for cmd response back from device.

Signed-off-by: Scott Feldman <sfeldma@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/rocker/rocker.c