diff options
| author | 2015-03-05 17:40:12 -0800 | |
|---|---|---|
| committer | 2015-03-06 15:13:41 -0500 | |
| commit | 3feafeed16f92b96b7b67a3e30882c62c859f4bb (patch) | |
| tree | 03c489e11bb19788f41e5b6761a82e7aa4d6e767 /include/linux/timerqueue.h | |
| parent | net: bcmgenet: set hw_params->rx_queues = 0 (diff) | |
net: bcmgenet: adjust the call to alloc_etherdev_mqs()
In preparation for supporting multiple Rx queues, adjust the call to
alloc_etherdev_mqs() to allow max GENET_MAX_MQ_CNT + 1 Rx queues.
The actual number of Rx queues in use is correctly adjusted with:
netif_set_real_num_rx_queues(priv->dev, priv->hw_params->rx_queues + 1);
Signed-off-by: Petri Gynther <pgynther@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
