Skip to content
Snippets Groups Projects
Commit eae792b7 authored by David S. Miller's avatar David S. Miller
Browse files

netdev: Add netdev->select_queue() method.


Devices or device layers can set this to control the queue selection
performed by dev_pick_tx().

This function runs under RCU protection, which allows overriding
functions to have some way of synchronizing with things like dynamic
->real_num_tx_queues adjustments.

This makes the spinlock prefetch in dev_queue_xmit() a little bit
less effective, but that's the price right now for correctness.

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e3c50d5d
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment