[dpdk-users] DDP GTP profile - how to set hash for GTP-U flow
Krauz, Pavel
Pavel.Krauz at anritsu.com
Fri Sep 25 10:09:26 CEST 2020
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
More information about the users
mailing list