* [dpdk-users] RSS logic for Intel XXV710 NIC cards (i40e driver)
@ 2021-02-04 15:35 Joshi, Venkatesh
0 siblings, 0 replies; only message in thread
From: Joshi, Venkatesh @ 2021-02-04 15:35 UTC (permalink / raw)
To: users
Hi,
I'm running into some issues in activating the RSS logic for Intel XXV710 NIC cards.
Here are the details:
* DPDK Version: 20.08
* XXV710 NIC cards:
- driver: i40e
- version: 2.11.29
- firmware-version: 8.15 0x80009586 1.1691.0
I got some pointers from the following links:
https://haryachyy.wordpress.com/2019/01/18/learning-dpdk-symmetric-rss/
However, the functions used in the prototype code here:
- rte_eth_dev_filter_supported()
- rte_eth_dev_filter_ctrl()
are marked deprecated in DPDK 20.08 and are not present in DPDK 20.11.
I'm currently using DPDK 20.08 but there is a plan to move to DPDK 20.11 since it is an LTS release.
I also went through the following link:
https://stackoverflow.com/questions/42342723/how-to-set-up-rss-hash-fuction-in-xl710-to-receive-ipv4-flow-type#
But, I couldn't figure out the APIs that I need to program the RSS hashing logic correctly.
My code: Currently, I have the following snippet of code:
--------------------------------------------------------------
static struct rte_eth_conf port_conf = {
.rxmode = {
.max_rx_pkt_len = 1600,
.split_hdr_size = 0,
.offloads = (DEV_RX_OFFLOAD_IPV4_CKSUM | DEV_RX_OFFLOAD_JUMBO_FRAME | DEV_RX_OFFLOAD_SCATTER),
.mq_mode = ETH_MQ_RX_RSS,
},
.rx_adv_conf = {
.rss_conf = {
.rss_key = NULL,
.rss_hf = ETH_RSS_IP |
ETH_RSS_UDP |
ETH_RSS_TCP,
},
},
.txmode = {
.mq_mode = ETH_DCB_NONE,
.offloads = DEV_TX_OFFLOAD_MULTI_SEGS,
},
};
---------------------------------------------------------------
I also read some helpful posts that mentioned that the rte_flow APIs can be used to program RSS logic for i40e driver. But, I haven't been able to find the exact details.
Any pointers on how to program the RSS logic on the XXV710 NICs would be most helpful.
Regards,
Venkatesh
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-02-04 15:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 15:35 [dpdk-users] RSS logic for Intel XXV710 NIC cards (i40e driver) Joshi, Venkatesh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).