From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 71E8141B91 for ; Tue, 31 Jan 2023 19:45:02 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E402B40684; Tue, 31 Jan 2023 19:45:01 +0100 (CET) Received: from mx0b-002e3701.pphosted.com (mx0b-002e3701.pphosted.com [148.163.143.35]) by mails.dpdk.org (Postfix) with ESMTP id DF8734067B for ; Tue, 31 Jan 2023 19:44:59 +0100 (CET) Received: from pps.filterd (m0148664.ppops.net [127.0.0.1]) by mx0b-002e3701.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 30VIW7gB022494 for ; Tue, 31 Jan 2023 18:44:59 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hpe.com; h=from : to : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pps0720; bh=8Ymvpz+qtobx8UK/D1W/rz0Zd2pn6ZXGOhuiqvEKmoI=; b=Mf4eOJYp8ykxVLyNbbrYi79xN0c3kUaun8xa3PaLGDjizo0NmLNhst5JfnU6PNHT0dA6 gWM8Yjg6RlndXnjAOtTu6RJdNggd++jiBhj4I0URbH5mEuiiIIYcV0PJCTs4oCcPw2R2 vs2on34M67mA9d/I/k3C6FH/MOi9o3ICAC62VPuPUA595vVKZsre6eiYBNU4of2PJCZR 5fIWgT5cfqR3SWnhQWKuGlUL32gPeNGTj9I+EDdr6bZQsPKGfh6vHFa6OVi9ic609ipI CGN0gfQ29vs1qjYOEswn2QcZuP1P3HEQi4K7cktL+qh4BZ2gIyWFdP3SAz0Gs2P8eJRq Bg== Received: from p1lg14880.it.hpe.com (p1lg14880.it.hpe.com [16.230.97.201]) by mx0b-002e3701.pphosted.com (PPS) with ESMTPS id 3nf6m99kkm-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 31 Jan 2023 18:44:59 +0000 Received: from p1wg14923.americas.hpqcorp.net (unknown [10.119.18.111]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by p1lg14880.it.hpe.com (Postfix) with ESMTPS id 9AF62800394 for ; Tue, 31 Jan 2023 18:44:57 +0000 (UTC) Received: from p1wg14924.americas.hpqcorp.net (10.119.18.113) by p1wg14923.americas.hpqcorp.net (10.119.18.111) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 31 Jan 2023 06:44:53 -1200 Received: from P1WG14918.americas.hpqcorp.net (16.230.19.121) by p1wg14924.americas.hpqcorp.net (10.119.18.113) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36 via Frontend Transport; Tue, 31 Jan 2023 06:44:53 -1200 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (192.58.206.38) by edge.it.hpe.com (16.230.19.121) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Tue, 31 Jan 2023 18:44:53 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UEhHpiBw42ADGjjnzZdoS7FAejPi4Px+nJJH6S7QetELCO7eE2FJlG0KHOxsKrGSXLpXG5gJqbLJvJml0JuI/3kEAv34OBSonFB3uv/j2SBTgcF8tcnKQWqiY+F9xbrFk7PFoNONtg70gh4JDzH6mMOShtrd/tF2TphmbEeQjM9sa1c50lC/rtGyi9ZpOjqoVG123DZE/AUKo5IygotN9pcIj+RS+SXyZ0xLgXPpEKjJCwM2Xmx4EO8nrnh2QGtVbqkG+rzwvSGb4q1QweVEYh2CmK3RCYe0XsXT86dHQIEF/nWdyR+c0yqFrWL5PNpkJNHmV7OcRCg6oEisD5jnMQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8Ymvpz+qtobx8UK/D1W/rz0Zd2pn6ZXGOhuiqvEKmoI=; b=cXcq13DX/D933PK9yRNmpcXymo3bY2sbmZwXNy4Bf/R9fCimLZ9+qhgLoBE4LvkqBxiTOkyQWxsO2bSrm0vGUEvIMFRlyBXG3hKli6kPD5q+t0pHPQMPJLsG3fdWa6cWPahZ7qeiTWvvEmdl5Fb18G2phsJPjLqptdu1fO3ZjhjSra2rcdbizqFCWajXiDLkRGPSPSMRPB5uqJk9Xw3uG39b+FSPZ8i2t4YKqBEom/5zgrI1nkeOT3opAF1AcdL8+8iNop6aQgK9d8f710HsV2R0CiANJqkj5mdnau2XE0dva1yKhnOr3Eg4LGjsTL111/57ufVsSd/ZCmZQDyw88Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=hpe.com; dmarc=pass action=none header.from=hpe.com; dkim=pass header.d=hpe.com; arc=none Received: from MN0PR84MB3047.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:208:3cd::18) by PH0PR84MB1809.NAMPRD84.PROD.OUTLOOK.COM (2603:10b6:510:160::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6043.36; Tue, 31 Jan 2023 18:44:51 +0000 Received: from MN0PR84MB3047.NAMPRD84.PROD.OUTLOOK.COM ([fe80::1ae2:3ef7:7601:1577]) by MN0PR84MB3047.NAMPRD84.PROD.OUTLOOK.COM ([fe80::1ae2:3ef7:7601:1577%9]) with mapi id 15.20.6043.036; Tue, 31 Jan 2023 18:44:51 +0000 From: "Joshi, Venkatesh" To: "users@dpdk.org" Subject: Flexible payload feature of i40e PMD in DPDK 20.11 Thread-Topic: Flexible payload feature of i40e PMD in DPDK 20.11 Thread-Index: Adk1o6ojlZewn7EfT++oKqbHZuh9rA== Date: Tue, 31 Jan 2023 18:44:51 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: MN0PR84MB3047:EE_|PH0PR84MB1809:EE_ x-ms-office365-filtering-correlation-id: 081b0df1-158b-4035-414a-08db03bb3cb2 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: TCJuIMsoUwtNMAAP643OnpFLONOTZI75Xzg9MEAK7kbF/oGycln2W/BNHPIrFJHH4M3ZNatm3uouVY6NPu2jX6vVvkbc4EJJe9fW2MMN/t1OKCnwSwj7pWF9mq5vlIsmY1mgaUUvcv1sflWGECsskCJWkBAorB31xNbU6kWGLAwVhpga0QZgV9pYYGqpfVZm+W0Edg4hXd5BEL2dKLGfN6cuCDVTtIkiOo/KgAMjAszQTcQnR7l88sCjBShX0vHs6WA+ugiNENbGM23lEoUxqKowoj9Bdp21lW8uM8moc2RceDIhLxgSSJOqDumzLjTXj6XFcfMHmj321o1VDBKb52pzWfSIimhm1VizHSAo46VJ2HuDeVlaO/PZ1GFZHwMtqKGy5GmnZuVmrbnoCUpjHYmf5yphL4tuKJqeZQinFVOmrD02P5Zdx6ZCnZlZJf5EbIqSFzXWGgmbYiThADSX72s7Afbixiw5/EOa1olS+YxGXJktDI08CpO8b2wztq45JJVLW/CQjlwlxxkg/HyBh57spTEVGQ3gyKyDqHjQigYAoFGM5cPfDn+FB+Hk6WiBf2BkOzvN9t99bcZ+rVIHlQXqtIqIWokkZNWN8yMTA1MxQoLXXKm23t2Fs0FIfXUs0+JL2WnvQmhqLmEsqJ75v1lRfwHsgct+H8XG2NKu/Ejo0U94c3XkkCSQbfbP5mvCiO7RYiMdFS4VBaWKuSwxNA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN0PR84MB3047.NAMPRD84.PROD.OUTLOOK.COM; PTR:; CAT:NONE; SFS:(13230025)(39860400002)(346002)(376002)(366004)(396003)(136003)(451199018)(71200400001)(33656002)(7696005)(66476007)(64756008)(8676002)(66556008)(66446008)(6916009)(8936002)(41300700001)(66946007)(76116006)(86362001)(478600001)(82960400001)(122000001)(316002)(2906002)(52536014)(55016003)(6506007)(9686003)(38100700002)(26005)(38070700005)(186003)(4744005)(5660300002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?f+54/tR2N+xRGaw9Sc7AEAUGadd3vLXIcSN2e31HxFewhQ7T6azqqtFVeG0K?= =?us-ascii?Q?c5ZE8KiYn4GqgLGvOhM3E6Xl6h0IWB0VzmwBbgb4apP81laZnZ7LIBMUo8U+?= =?us-ascii?Q?3GHAArBGjTgkRLaXGj0jtMBGQHjlDb5Y9dl1gc95e2AX7LQqu3rl92CnGCOF?= =?us-ascii?Q?3dwelk03QOCqHdAGuLaFdULfGotQk/mfkXEDkKoZJR2tVaAA/sBJTKXNVRKC?= =?us-ascii?Q?n2163lYvTFl7J0wMo0C7mMbuW7eiCq2yXNXlivfGiOTMSc2HE6Olxtf1CO+H?= =?us-ascii?Q?ekzZR5Cp/6RAT5k2ullTLXuGrgCFEpbKMCtZjKmF5uruOHG9wRaKtqDjkuP0?= =?us-ascii?Q?Nz9/0TB0Lsb4mU0GRP4H3mItf4CfsSa52tFQEaAvjLlEjyPReXKqap0ue6lN?= =?us-ascii?Q?qrYrEmVHQAkrClwN2pHm/V5UfDFrJaHKq6ULelt93NlNjLH1ufY5HKLJHbOb?= =?us-ascii?Q?Yn398V+wzizW6OUl79VswIEzUU/RfA+BDCD2QATer5hZr1DndLOGBO2wbdro?= =?us-ascii?Q?IRfSlCo/lhqKYbAD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G9?= =?us-ascii?Q?KXETkRQ1XAKT73CQQ44ScALUAtEtGnm/Ef/KmSSTCPNKbtOru37I8q7iGZi8?= =?us-ascii?Q?yX2M6ejJFOwmJCKj5jMr6BtUV28vOTvUcme4nd3LLXq0A3BcXKVFZ3qsyryO?= =?us-ascii?Q?hdixRfa0QLb5W3vGN885tcygs5mm2gt5yRbDe2PB?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN0PR84MB3047.NAMPRD84.PROD.OUTLOOK.COM X-MS-Exchange-CrossTenant-Network-Message-Id: 081b0df1-158b-4035-414a-08db03bb3cb2 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jan 2023 18:44:51.4827 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 105b2061-b669-4b31-92ac-24d304d195dc X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: hUb/S+EFzdENa3hd9sVhIvUmmfSQbgAV8XqaUWzQHyOfnCtJsfE189/dX89RBOZScABpNiQwcTAE96SnjhCZUg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR84MB1809 X-OriginatorOrg: hpe.com X-Proofpoint-ORIG-GUID: kKnhNeoJQIykx84EbvkBsRX_FWA3-7yt X-Proofpoint-GUID: kKnhNeoJQIykx84EbvkBsRX_FWA3-7yt X-HPE-SCL: -1 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.930,Hydra:6.0.562,FMLib:17.11.122.1 definitions=2023-01-31_08,2023-01-31_01,2022-06-22_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 mlxlogscore=481 mlxscore=0 phishscore=0 adultscore=0 suspectscore=0 bulkscore=0 lowpriorityscore=0 priorityscore=1501 spamscore=0 clxscore=1011 impostorscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2212070000 definitions=main-2301310162 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org Hi, I have the following configuration: NIC: Intel XXV710 (supported by i40e PMD) DPDK version: 20.11 My requirement is to use Flexible payload of the XXV710 NIC (i40e PMD) to d= o the following: * For incoming packets where the ethertype is 0x0806 (ie: ARP packets), do = the RSS hashing based on the Sender Hardware Address instead of the etherty= pe field which is considered by default.=20 * Basically, I don't want all the ARP packets falling on the same queue. He= nce, hashing based on the sender hardware address would give a good distrib= ution across multiple CPUs where my dpdk application is running. However, I have not been able to find any examples where the following macr= os have been used - RTE_ETH_INPUT_SET_FLEX_PAYLOAD_1ST_WORD through RTE_ETH= _INPUT_SET_FLEX_PAYLOAD_8TH_WORD. Any pointers would be much appreciated. Regards, Venkatesh