aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/wil6210/txrx.c
diff options
context:
space:
mode:
authorHamad Kadmany <hkadmany@codeaurora.org>2018-10-31 10:52:09 +0200
committerKalle Valo <kvalo@codeaurora.org>2018-11-06 18:02:01 +0200
commita078c4cf0197c71a829ea927d1287e6b26a52c92 (patch)
tree5dab83286081ea8940730b74ebae311418d12326 /drivers/net/wireless/ath/wil6210/txrx.c
parentath10k: fix some typo (diff)
downloadlinux-dev-a078c4cf0197c71a829ea927d1287e6b26a52c92.tar.xz
linux-dev-a078c4cf0197c71a829ea927d1287e6b26a52c92.zip
wil6210: remove fake support for RXHASH
Setting the same fake hash to all skbs prevents distributing different flows to different CPU cores. Signed-off-by: Hamad Kadmany <hkadmany@codeaurora.org> Signed-off-by: Lior David <liord@codeaurora.org> Signed-off-by: Maya Erez <merez@codeaurora.org> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/ath/wil6210/txrx.c')
-rw-r--r--drivers/net/wireless/ath/wil6210/txrx.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/net/wireless/ath/wil6210/txrx.c b/drivers/net/wireless/ath/wil6210/txrx.c
index cc5f263cc965..70eceec9945e 100644
--- a/drivers/net/wireless/ath/wil6210/txrx.c
+++ b/drivers/net/wireless/ath/wil6210/txrx.c
@@ -743,14 +743,6 @@ void wil_netif_rx_any(struct sk_buff *skb, struct net_device *ndev)
stats = &wil->sta[cid].stats;
- if (ndev->features & NETIF_F_RXHASH)
- /* fake L4 to ensure it won't be re-calculated later
- * set hash to any non-zero value to activate rps
- * mechanism, core will be chosen according
- * to user-level rps configuration.
- */
- skb_set_hash(skb, 1, PKT_HASH_TYPE_L4);
-
skb_orphan(skb);
if (security && (wil->txrx_ops.rx_crypto_check(wil, skb) != 0)) {