summaryrefslogtreecommitdiff
path: root/test/test
diff options
context:
space:
mode:
authorNikhil Rao <nikhil.rao@intel.com>2018-09-24 14:23:47 +0530
committerJerin Jacob <jerin.jacob@caviumnetworks.com>2018-10-01 16:53:00 +0200
commit025825eab80319ceb1571fb1413075e5283095d2 (patch)
tree6f3e1b8687a06b9a2231d60bc7193c95efd598e3 /test/test
parent085edac2ca38105b629fed34fb82ad280eea129b (diff)
downloaddpdk-025825eab80319ceb1571fb1413075e5283095d2.zip
dpdk-025825eab80319ceb1571fb1413075e5283095d2.tar.gz
dpdk-025825eab80319ceb1571fb1413075e5283095d2.tar.xz
test/event: fix RSS config for eth Rx adapter
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@dpdk.org Signed-off-by: Nikhil Rao <nikhil.rao@intel.com> Acked-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
Diffstat (limited to 'test/test')
-rw-r--r--test/test/test_event_eth_rx_adapter.c13
1 files 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 28f2146..3c19ee0 100644
--- a/test/test/test_event_eth_rx_adapter.c
+++ b/test/test/test_event_eth_rx_adapter.c
@@ -98,8 +98,7 @@ 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 = {
.rxq = 1,
@@ -114,16 +113,8 @@ 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,
- }
- }
};
return port_init_common(port, &port_conf_default, mp);