From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 91778A00C2; Thu, 31 Oct 2019 17:53:53 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id A81F71C43C; Thu, 31 Oct 2019 17:53:52 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id C8DB71C438 for ; Thu, 31 Oct 2019 17:53:50 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x9VGZvYD001560; Thu, 31 Oct 2019 09:53:50 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=2kHH7QsgWqIXZa8yoq4TpmYld5Z1dYynh0HFslw4zmU=; b=qx5gnC7Pk07mC0rOPA5GJrlOazJ9mWTM2xcHemzdq9XILdELfX/SzkFMHYUb0+4H9w/p iPn46RA5b6UWaV4mMK5Q2r8a5aqHfT1f/4Q9v/fANE14GDKDBZUJlrcugQV/scVTvMes jzjQva5dHnSy5lEEP4qDPVuVQ9R6SJpZcvjX4+IRwf5UpCnjIuJMEz1WBel8862ynAlQ efzZJbqVfhZe+7kUf9vAIEfQ28I8cHb0/NNO09vja8cZ/xK4aJxBgIDkf3PoY+qaSX/D jrYZjRthu8IKUdy5Xg9yTj3bmwRGdk4yrQgF2ol+JqL+kg2x3R1OiNemzylDgQ5GURKL 4A== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2vxwjm88t5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 31 Oct 2019 09:53:49 -0700 Received: from SC-EXCH01.marvell.com (10.93.176.81) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Thu, 31 Oct 2019 09:53:48 -0700 Received: from NAM03-CO1-obe.outbound.protection.outlook.com (104.47.40.51) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Thu, 31 Oct 2019 09:53:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Db91o5in0dsSAtx6OGewXHcLUztyxej9co3ZhmqBkMS2+uUaDgyujBcf77atf2zpc0x/4MQrMBLcVxWUJ5jpPpcmcXEbfosx/RgsZMnasaG+swgzfDe35UJIS74syj1O5RQKyAeD2Wx1gJXGcR48+ux8cUlX/GIvJPoU6lq/BhTn4yGaJCFy4ha4/i/tm/xAkVGCvZEMKdqWso15snOI3q30GeqevuUxaijeVrhuioaS8brsVgdAMYdQdMTFk/iRyIZQMPGh1VoQuFruA8rGfveyiZyntZo/N9WGSYPFg2zm+2z2/mPKqXfWN8ODTp4x0F5UCNgkx+16FMch51AGBw== 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-SenderADCheck; bh=2kHH7QsgWqIXZa8yoq4TpmYld5Z1dYynh0HFslw4zmU=; b=SW+RuTsKI7WEz8tTs4TXZhJx/W4I8ZsicEoFFJebNCxoBs4ATjn5Cv7RrT7JG/q1zi/2h1Vo3NQ5h3UHuz2BViMhQQZemSVVrydj8ECjE0nieHZaRmGCqjEMgJTSntwmd7l4fS/4N151vDi6ZPP+AVJPBx0Uyl1TUXBr2hre5sKnPaJG34/l7fwaYyUr6EJx1BoiPQWU2kn43VgioPE5Vyuf5PlV59CXV8dZph3iowv+iwxISTJNZ5+t4uF8gxgFbx6MXOfIJZBaWPHJuyKzr6MUSSIUpGTh5E4MWWzkHRTFS7JeZxBdWiiufuS5q38ocaFlsZR6pkMQTseQMR7qyQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.onmicrosoft.com; s=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2kHH7QsgWqIXZa8yoq4TpmYld5Z1dYynh0HFslw4zmU=; b=omg+gJpX8oWiZBiUAlyLkBUB3mt8ODwuCNlFB3D4MHpxqmvzp+Kn07FXuVKhY/1A7lAcp3zDFYnuWgclKka/RVyJhpEoutTPeC+lof6go6/XCqHjTWv3E4d4HBLl4yGkeNuPRYz4KUxhRCNA3qA9p5KC76a7WrPp9hRsrzKt7jo= Received: from CY4PR1801MB1863.namprd18.prod.outlook.com (10.171.255.160) by CY4PR1801MB2023.namprd18.prod.outlook.com (10.171.255.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2408.17; Thu, 31 Oct 2019 16:53:34 +0000 Received: from CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::d918:c54e:c3b1:3167]) by CY4PR1801MB1863.namprd18.prod.outlook.com ([fe80::d918:c54e:c3b1:3167%7]) with mapi id 15.20.2387.028; Thu, 31 Oct 2019 16:53:34 +0000 From: Pavan Nikhilesh Bhagavatula To: Thomas Monjalon CC: "dev@dpdk.org" , "ferruh.yigit@intel.com" , "arybchenko@solarflare.com" , Jerin Jacob Kollanukkaran , Harry van Haaren Thread-Topic: [dpdk-dev] [PATCH v15 5/7] examples/eventdev_pipeline: add new Rx RSS hash offload Thread-Index: AdWQC6r7BgymUB7PT5qMzpcYiCVZtQ== Date: Thu, 31 Oct 2019 16:53:34 +0000 Message-ID: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.171.125.115] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 3db77f37-6a21-41e2-8624-08d75e22de65 x-ms-traffictypediagnostic: CY4PR1801MB2023: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7691; x-forefront-prvs: 02070414A1 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(136003)(346002)(376002)(366004)(39860400002)(199004)(189003)(2906002)(71200400001)(71190400001)(55016002)(8676002)(76116006)(64756008)(3846002)(66476007)(6116002)(4326008)(6436002)(4744005)(52536014)(66556008)(66446008)(5660300002)(229853002)(66946007)(6246003)(9686003)(86362001)(256004)(99286004)(81156014)(81166006)(54906003)(14454004)(305945005)(316002)(6506007)(74316002)(25786009)(26005)(102836004)(478600001)(8936002)(186003)(7736002)(7696005)(486006)(66066001)(476003)(33656002)(6916009); DIR:OUT; SFP:1101; SCL:1; SRVR:CY4PR1801MB2023; H:CY4PR1801MB1863.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zhtcoEjPL5FadaPWw20MsoGBlEEpYZpSW++f0+mWHeW/lkRCdDEmu50IjlYt7Pzwm0kyeepNLNhL6pEeUoNKTaFXk5qaZ9IkjEIwoMR2AvLzk/1aTWyRVefx0G9RIAvNGTlBXUqso+rB1nWOldgHCmHaTRo2jD/k2ZV/1mrwGMAry5rCMS37jFQ4/7+N+BXZkAM2VFnXM0FSKtUFI692dDDVwJSRCsFFZoJTrlqGX8EWJzATEycPOZ3wMV3zZ4Gux8E8Ogz0VNSPRq/gWNYRlbB83xThANDDhnqciUcJOEy8zf0hXdWKro5z3qQGpmV19cnR3MgSbWT6GB1Oz5vdR6RcPBNyUN/PQLdinHRiHldk+e3VP/opGDBesEWOBPpCZbprPJskXrXlWht6awEojHQ2kjembFW9laklCy/T+mebcuYmXC97bVzkoU+phl7u Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 3db77f37-6a21-41e2-8624-08d75e22de65 X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Oct 2019 16:53:34.7250 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: 47LNyHjJsB7+P4/bp3uD7VPLuxEetmOdFY6EMER9LDpuPn+9QqCMFNs6yqO1AeL584uYvOe5IFGA4mIQA8ZqfL2emM8xx9QKmenGPBzrFsY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY4PR1801MB2023 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-31_06:2019-10-30,2019-10-31 signatures=0 Subject: Re: [dpdk-dev] [PATCH v15 5/7] examples/eventdev_pipeline: add new Rx RSS hash offload X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" >29/10/2019 16:37, pbhagavatula@marvell.com: >> From: Pavan Nikhilesh >> >> Since pipeline_generic uses `rte_mbuf::hash::rss` add the new Rx >offload >> flag `DEV_RX_OFFLOAD_RSS_HASH` to inform PMD to copy the RSS >hash result >> into the mbuf. >> >> Signed-off-by: Pavan Nikhilesh >> --- >> examples/eventdev_pipeline/main.c | 128 ----------------- >> .../pipeline_worker_generic.c | 132 ++++++++++++++++++ >> .../eventdev_pipeline/pipeline_worker_tx.c | 128 >+++++++++++++++++ >> 3 files changed, 260 insertions(+), 128 deletions(-) > >Please split the patch. >Moving code should be always separate. > Sure, I will split the patch in the next version. Thanks >