DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DDP GTP profile - how to set hash for GTP-U flow
@ 2020-09-25  8:09 Krauz, Pavel
  0 siblings, 0 replies; only message in thread
From: Krauz, Pavel @ 2020-09-25  8:09 UTC (permalink / raw)
  To: users

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?

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?


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-09-25  8:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-25  8:09 [dpdk-users] DDP GTP profile - how to set hash for GTP-U flow Krauz, Pavel

DPDK usage discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ https://inbox.dpdk.org/users \
	public-inbox-index users

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git