]> git.karo-electronics.de Git - linux-beck.git/commit
wil6210: allow to handle Rx on 2 cores
authorVladimir Shulman <QCA_shulmanv@QCA.qualcomm.com>
Thu, 30 Jul 2015 10:52:04 +0000 (13:52 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Thu, 6 Aug 2015 06:43:50 +0000 (09:43 +0300)
commit0553640d28baf77cf0fb91c8a834059f0b9be972
tree7f05acb3386454ff5b8ac0db765df3d03e049263
parentb9eeb512496f1b1b5a6e0748c947277d95003af5
wil6210: allow to handle Rx on 2 cores

Allow network stack part of Rx processing to run on separate core,
relaxing CPU utilization on the core used for Rx NAPI.

If RXHASH feature is enabled, the driver sets rxhash of each skb to 1
to enable RPS. The core for processing the rx skb is determined by RPS
mechanism according to rx_cpus bit mask which is configured at user level.
For processing skbs on different core from the core which processes
the interrupts, it is recommended not to enable core 0 in rx_cpus bit mask.

Signed-off-by: Vladimir Shulman <QCA_shulmanv@QCA.qualcomm.com>
Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/wil6210/netdev.c
drivers/net/wireless/ath/wil6210/txrx.c