[prev in list] [next in list] [prev in thread] [next in thread]
List: dpdk-users
Subject: [dpdk-users] RSS logic for Intel XXV710 NIC cards (i40e driver)
From: "Joshi, Venkatesh" <venkatesh.joshi () hpe ! com>
Date: 2021-02-04 15:35:01
Message-ID: AT5PR8401MB1027FD9745D1818A64177951ECB39 () AT5PR8401MB1027 ! NAMPRD84 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic