From: "Krauz, Pavel" <Pavel.Krauz@anritsu.com>
To: "users@dpdk.org" <users@dpdk.org>
Subject: [dpdk-users] DDP GTP profile - how to set hash for GTP-U flow
Date: Fri, 25 Sep 2020 08:09:26 +0000 [thread overview]
Message-ID: <OSBPR01MB415294633A3E20BDAB752593E4360@OSBPR01MB4152.jpnprd01.prod.outlook.com> (raw)
Hello,
I am trying to evaluate/use the Intel DDP for GTP (https://builders.intel.com/docs/networkbuilders/intel-ethernet-controller-700-series-gtpv1-dynamic-device-personalization.pdf)
with Intel XL710 adapter and I do not know how to change the hash function of the GTP-U flow. It seems that in the paper they are using the hash(InnerIP.SRC_ADDR) for GTP-U flow.
The description of the package however says: "Hash input set for GTPU is TEID and inner IP addresses (no ports)"
I want to set hash input set for the GTP-U flow to InnerIP.SRC_ADDR only (no TEID) for a test and eventually to InnerIP.SRC_ADDR and InnerIP.DST_ADDR where InnerIP.SRC_ADDR and InnerIP.DST_ADDR shall be used by hash function the way that it produces same hash even if they addresses are swapped, so complete TCP/UDP flow inside GTP will end in same RX queue.
Does anyone know how to do it?
Notes:
There are no identifiers for InnerIP.SRC_ADDR or InnerIP.DST_ADDR or eventually TEID in the rte_eth_ctrl.h: rte_eth_input_set_field enum. What are they for the DDP GTP profile?
There are functions rte_eth_dev_filter_ctr() or rte_pmd_i40e_inset_set(). Which one shall be used and how?
Thanks
Pavel
reply other threads:[~2020-09-25 8:09 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=OSBPR01MB415294633A3E20BDAB752593E4360@OSBPR01MB4152.jpnprd01.prod.outlook.com \
--to=pavel.krauz@anritsu.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).