summaryrefslogtreecommitdiff
path: root/drivers/net/cris
diff options
context:
space:
mode:
authorTobias Regnery <tobias.regnery@gmail.com>2016-11-15 12:43:10 +0100
committerDavid S. Miller <davem@davemloft.net>2016-11-15 22:46:30 -0500
commitb0999223f224187318c67f1de653e34fb1f04f6b (patch)
treed1e689d8e4e6bb2f941a21936581206fd2dc260d /drivers/net/cris
parentbccffcf7154420c1cbd9e3c2702e2ec4ff0bc319 (diff)
alx: add ability to allocate and free alx_napi structures
Add new functions to allocate and free the alx_napi structures and use them in __alx_open and __alx_stop. We only allocate one of these structures for now, as the rest of the driver is not yet ready for multiple queues. We switch over the setup of the interrupt mask and the call to netif_napi_add to the new function because we must adjust these later on a per queue basis. Based on the downstream driver at github.com/qca/alx Signed-off-by: Tobias Regnery <tobias.regnery@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/cris')
0 files changed, 0 insertions, 0 deletions