pktgen: enable RSS on versions of DPDK after 18.05
PATCH 1/1 pktgen: enable RSS on versions of DPDK after 18.05
When backwards compatibility was added for earlier releases of DPDK, default enablement of RSS was lost for versions of DPDK after 18.05. This change restores the old behavior and enables RSS by default.
Fixes ae81c62f194c ("backward compat to 18.02 at least")
Signed-off-by David Christensen <[email protected]>
--- app/pktgen-port-cfg.c | 6 ++++++ 1 file changed, 6 insertions(+)
app/pktgen-port-cfg.c +6 -0
@@ -64,6 +64,12 @@ static struct rte_eth_conf default_port_conf = { .offloads = DEV_RX_OFFLOAD_CRC_STRIP,#endif }, + .rx_adv_conf = { + .rss_conf = { + .rss_key = NULL, + .rss_hf = ETH_RSS_IP, + }, + }, .txmode = { .mq_mode = ETH_MQ_TX_NONE, },
Signature · 1 line
1.8.3.1
Quoted 21 lines · David Christensen
When backwards compatibility was added for earlier releases of DPDK, default enablement of RSS was lost for versions of DPDK after 18.05. This change restores the old behavior and enables RSS by default.
Fixes ae81c62f194c ("backward compat to 18.02 at least")Signed-off-by David Christensen <[email protected]>---
app/pktgen-port-cfg.c| 6 ++++++1 file changed, 6 insertions(+)app/pktgen-port-cfg.c +0
-0
app/pktgen-port-cfg.c static struct rte_eth_conf default_port_conf = { · line 72
Quoted 9 lines
app/pktgen-port-cfg.c +6
-0@@ -64,6 +64,12 @@ static struct rte_eth_conf default_port_conf = { .offloads = DEV_RX_OFFLOAD_CRC_STRIP,#endif }, + .rx_adv_conf = { + .rss_conf = { + .rss_key = NULL, + .rss_hf = ETH_RSS_IP, + }, + },
Thanks for the patch.
Quoted 6 lines
app/pktgen-port-cfg.c +0
-0.txmode = { .mq_mode = ETH_MQ_TX_NONE, },Signature · 1 line
1.8.3.1
Regards,
Keith