From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.gmx.net (mout.gmx.net [212.227.17.22]) by dpdk.org (Postfix) with ESMTP id DAFC47F6D for ; Sun, 15 Apr 2018 11:43:23 +0200 (CEST) Received: from phoebe.localdomain ([87.181.71.201]) by mail.gmx.com (mrgmx103 [212.227.17.168]) with ESMTPSA (Nemesis) id 0Me8ws-1eoR2j0f78-00Puki for ; Sun, 15 Apr 2018 11:43:23 +0200 Date: Sun, 15 Apr 2018 11:41:56 +0200 From: "A. Ilchinger" To: users@dpdk.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-ID: <0MFu0Y-1fCbj314Te-00EwMq@mail.gmx.com> X-Provags-ID: V03:K1:Xp9SJpf/YlglRdLykOaZ5dyXNlDrDHsRGh/jPbvk8Y+H6T+r0y3 sjd+iaPeTomMSTkPTc256/sdv2XxrOI1gw5dUUb08AoPJiLBXC6gypki9+tBEc5klLD2HOz qShlo8aZCAWV4K8mHlzP0smY3d8EyKP5A5puEi5jfkxDM8oQhlZF2Uv38m0zJHTGumnUtn8 kyoLWn79tNBt/CVav4naw== X-UI-Out-Filterresults: notjunk:1;V01:K0:OgIcufjwllc=:BKTKPFLeIlSf2tb5qA7v3S x1InG9Wxr3EwODT5AxU+c0JGtRy4gW8imJw6lZF/Z5YZlrVNzrsmxwxC/GSDaMP8+Jvxyuc/Y YYkNIlqi1qSqN35h4Qi9LreEgTXrUzGLEhLjh7dKqeNGqc56hGAaec6IHAfx3ZSiSomMv32lE 9yNy1YXapAWpAr5WU++ViHBP8333zpYVcyktk5+ZYOVPMqtwtcyP3csmcdm174cmi8LKRdWco GDJBOClHMzXtp8FL2hbSPhXR8Bj1nSiHPohoOVWHfo6VL8e3EJ4bABMqru/NPNTX/MFVwemwG vg1wmSOVCN6toHpGzjeavj/v5y0FhrFAHNq8zrPcehs84JTHFvU3szpOgrLZw/7viZLucKDOf Zk+u/rh1s9AvpuNBHSY02lxma23VALp1qllL5P7FKLZEfQmq3MRtGbxHzgjD2xiNZaPkJg34o q6IbSqomK4UvuRcZVDJwlwy8xOxnF9JKORwQyRe+kA0BMOZJUUVcdZElZjo4FDnElM3SeEq26 ndxdABqaQkW7WITZ4iCSVbwLF54EWhEiVEuUeGBWGJjWbO54pK+dEwKex3PaGrxEAEYiRu0IW e2+CuKh8MOg3MvL2rkQUohMRcgKURpnv76RwvxWHeMl8xFVR132R5ElN+XoqI1dq3N90ox7sz K4UN/1rh5RF+TbH6n3sCGpvXHxMnzc5TaKu1xt+9aolvk/94CyTL793S6tGJ6jQ/Bz8KOKfcf WXM6YrG64CsmWddYAZzok63xzvhchhy+Sw6mXSILusibaClz4Q7haEC+/eOL/Sggk6pOyVm8D yiDDKhldv39i4v25JiVmLt+Glp8RmHqa2mm3liGsWUPL3uSc2M= Subject: [dpdk-users] distributor and flow_id X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2018 09:43:24 -0000 Hello, how can I get and set the flow id of packets that are processed by the distributor? I'd like to go with burst mode, so I only have 15 bits of flow_id to work with according to the docs. But where do they come from? My assumption is that its the 5-tuple hash (ip_src, ip_dst, l4_port_src, l4_port_dst, l4_proto), but do I have to calculate the hash manually or is there already code in DPDK that does this for me? The docs also say: "As it does so, it examines the =E2=80=9Ctag=E2=80=9D = =E2=80=93 stored in the RSS hash field in the mbuf =E2=80=93 for each packet and records what t= ags are being processed by each worker." Does this mean my workers have to set the tag field manually? Kind regards