alx: prepare tx path for multi queue support
authorTobias Regnery <tobias.regnery@gmail.com>
Tue, 15 Nov 2016 11:43:14 +0000 (12:43 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 16 Nov 2016 03:46:30 +0000 (22:46 -0500)
commit2e06826bc659e0ff664b709719d746b7b088827b
treed91a527a5e7ecb3e5408d103982f35c6f40efb5f
parenta4076d347f9a27cdd85186bef2f4207b6187c35e
alx: prepare tx path for multi queue support

This patch prepares the tx path to send data on multiple tx queues. It
introduces per queue register adresses and uses them in the alx_tx_queue
structs.

There are new helper functions for the queue mapping in the tx path.

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>
drivers/net/ethernet/atheros/alx/main.c