diff options
author | Alexander Duyck <alexander.h.duyck@intel.com> | 2013-01-10 12:57:02 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-01-11 10:47:03 +0400 |
commit | 537c00de1c9ba9876b91d869e84caceefe2b8bf9 (patch) | |
tree | f808a5221aec07b3a0a01513e5de9d5cdc2a6b54 /mm | |
parent | 416186fbf8c5b4e4465a10c6ac7a45b6c47144b2 (diff) | |
download | linux-537c00de1c9ba9876b91d869e84caceefe2b8bf9.tar.xz |
net: Add functions netif_reset_xps_queue and netif_set_xps_queue
This patch adds two functions, netif_reset_xps_queue and
netif_set_xps_queue. The main idea behind these two functions is to
provide a mechanism through which drivers can update their defaults in
regards to XPS.
Currently no such mechanism exists and as a result we cannot use XPS for
things such as ATR which would require a basic configuration to start in
which the Tx queues are mapped to CPUs via a 1:1 mapping. With this change
I am making it possible for drivers such as ixgbe to be able to use the XPS
feature by controlling the default configuration.
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions