DPDK usage discussions
 help / color / mirror / Atom feed
From: "Joshi, Venkatesh" <venkatesh.joshi@hpe.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] RSS logic for Intel XXV710 NIC cards (i40e driver)
Date: Thu, 4 Feb 2021 15:35:01 +0000	[thread overview]
Message-ID: <AT5PR8401MB1027FD9745D1818A64177951ECB39@AT5PR8401MB1027.NAMPRD84.PROD.OUTLOOK.COM> (raw)

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



                 reply	other threads:[~2021-02-04 15:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AT5PR8401MB1027FD9745D1818A64177951ECB39@AT5PR8401MB1027.NAMPRD84.PROD.OUTLOOK.COM \
    --to=venkatesh.joshi@hpe.com \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).