From: raktim bhatt <rocky.cair@gmail.com>
To: users@dpdk.org
Subject: [dpdk-users] DPDK: MPLS packet processing
Date: Sat, 16 Jan 2021 14:15:46 +0530 [thread overview]
Message-ID: <CAGQs35Vz12hXaWRQD2snNeUMJWKQfhaqBis6Pe2sUgQzt7kuNQ@mail.gmail.com> (raw)
Hi All,
I am trying to build a multi-RX-queue dpdk program, using RSS to split the
incoming traffic into RX queues on a single port. Mellanox ConnectX-5 and
DPDK Version 19.11 is used for this purpose. It works fine when I use IP
over Ethernet packets as input. However when the packet contains IP over
MPLS over Ethernet, RSS does not seem to work. As a result, all packets
belonging to various flows (with different src & dst IPs, ports over MPLS)
are all sent into the same RX queue.
My queries are
1. Is there any parameter/techniques in DPDK to distribute MPLS packets to
multiple RX queues?
2. Is there any way to strip off MPLS tags (between Eth and IP) in
hardware, something like hw_vlan_strip?
My Port configuration is
const struct rte_eth_conf default_port_conf = {
.rxmode = {
.hw_vlan_strip = 0, /* VLAN strip enabled. */
.header_split = 0, /* Header Split disabled. */
.hw_ip_checksum = 0, /* IP checksum offload disabled. */
.hw_strip_crc = 0, /* CRC stripping by hardware disabled.
*/
},
.rx_adv_conf = {
.rss_conf = {
.rss_key = NULL,
.rss_key_len = 0,
.rss_hf = ETH_RSS_IP,
},
} };
_______________________
Thanks and Regards
Raktim Bhatt
next reply other threads:[~2021-01-17 22:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-16 8:45 raktim bhatt [this message]
2021-01-18 8:46 ` Raslan Darawsheh
2021-01-18 10:07 ` Thomas Monjalon
2021-01-18 10:13 ` Raslan Darawsheh
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=CAGQs35Vz12hXaWRQD2snNeUMJWKQfhaqBis6Pe2sUgQzt7kuNQ@mail.gmail.com \
--to=rocky.cair@gmail.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).