[dpdk-stable] patch 'test/event: fix RSS config for eth Rx adapter' has been queued to stable release 18.08.1
Kevin Traynor
ktraynor at redhat.com
Wed Nov 21 17:47:22 CET 2018
Hi,
FYI, your patch has been queued to stable release 18.08.1
Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/27/18. So please
shout if anyone has objections.
Also note that after the patch there's a diff of the upstream commit vs the patch applied
to the branch. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.
Thanks.
Kevin Traynor
---
>From 3d00f867c157cbbd737d34035046b056f051b8ca Mon Sep 17 00:00:00 2001
From: Nikhil Rao <nikhil.rao at intel.com>
Date: Mon, 24 Sep 2018 14:23:47 +0530
Subject: [PATCH] test/event: fix RSS config for eth Rx adapter
[ upstream commit 025825eab80319ceb1571fb1413075e5283095d2 ]
Remove RSS config as it is not required. The hardcoded RSS
configuration also generates an error on NICs that don't support
it.
Fixes: 8863a1fbfc66 ("ethdev: add supported hash function check")
Signed-off-by: Nikhil Rao <nikhil.rao at intel.com>
Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
---
test/test/test_event_eth_rx_adapter.c | 13 ++-----------
1 file changed, 2 insertions(+), 11 deletions(-)
diff --git a/test/test/test_event_eth_rx_adapter.c b/test/test/test_event_eth_rx_adapter.c
index 28f214687..3c19ee01b 100644
--- a/test/test/test_event_eth_rx_adapter.c
+++ b/test/test/test_event_eth_rx_adapter.c
@@ -99,6 +99,5 @@ port_init_rx_intr(uint8_t port, struct rte_mempool *mp)
static const struct rte_eth_conf port_conf_default = {
.rxmode = {
- .mq_mode = ETH_MQ_RX_RSS,
- .max_rx_pkt_len = ETHER_MAX_LEN
+ .mq_mode = ETH_MQ_RX_NONE,
},
.intr_conf = {
@@ -115,14 +114,6 @@ port_init(uint8_t port, struct rte_mempool *mp)
static const struct rte_eth_conf port_conf_default = {
.rxmode = {
- .mq_mode = ETH_MQ_RX_RSS,
- .max_rx_pkt_len = ETHER_MAX_LEN
+ .mq_mode = ETH_MQ_RX_NONE,
},
- .rx_adv_conf = {
- .rss_conf = {
- .rss_hf = ETH_RSS_IP |
- ETH_RSS_TCP |
- ETH_RSS_UDP,
- }
- }
};
--
2.19.0
---
Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- - 2018-11-21 16:44:31.164990501 +0000
+++ 0008-test-event-fix-RSS-config-for-eth-Rx-adapter.patch 2018-11-21 16:44:30.000000000 +0000
@@ -1,14 +1,15 @@
-From 025825eab80319ceb1571fb1413075e5283095d2 Mon Sep 17 00:00:00 2001
+From 3d00f867c157cbbd737d34035046b056f051b8ca Mon Sep 17 00:00:00 2001
From: Nikhil Rao <nikhil.rao at intel.com>
Date: Mon, 24 Sep 2018 14:23:47 +0530
Subject: [PATCH] test/event: fix RSS config for eth Rx adapter
+[ upstream commit 025825eab80319ceb1571fb1413075e5283095d2 ]
+
Remove RSS config as it is not required. The hardcoded RSS
configuration also generates an error on NICs that don't support
it.
Fixes: 8863a1fbfc66 ("ethdev: add supported hash function check")
-Cc: stable at dpdk.org
Signed-off-by: Nikhil Rao <nikhil.rao at intel.com>
Acked-by: Jerin Jacob <jerin.jacob at caviumnetworks.com>
More information about the stable
mailing list