projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78cb421
)
net: ena: fix ena_com_fill_hash_function() implementation
author
Sameeh Jubran
<sameehj@amazon.com>
Wed, 1 May 2019 13:47:09 +0000
(16:47 +0300)
committer
David S. Miller
<davem@davemloft.net>
Sat, 4 May 2019 04:14:47 +0000
(
00:14
-0400)
ena_com_fill_hash_function() didn't configure the rss->hash_func.
Fixes:
1738cd3ed342
("net: ena: Add a driver for Amazon Elastic Network Adapters (ENA)")
Signed-off-by: Netanel Belgazal <netanel@amazon.com>
Signed-off-by: Sameeh Jubran <sameehj@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amazon/ena/ena_com.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/amazon/ena/ena_com.c
b/drivers/net/ethernet/amazon/ena/ena_com.c
index
677d31a
..
4cdd845
100644
(file)
--- a/
drivers/net/ethernet/amazon/ena/ena_com.c
+++ b/
drivers/net/ethernet/amazon/ena/ena_com.c
@@
-2280,6
+2280,7
@@
int ena_com_fill_hash_function(struct ena_com_dev *ena_dev,
return -EINVAL;
}
+ rss->hash_func = func;
rc = ena_com_set_hash_function(ena_dev);
/* Restore the old function */