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 4720DA00E6 for ; Mon, 8 Jul 2019 06:55:50 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 336DE4C8D; Mon, 8 Jul 2019 06:55:49 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 1991637B0 for ; Mon, 8 Jul 2019 06:55:47 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.27/8.16.0.27) with SMTP id x684t0iT025234 for ; Sun, 7 Jul 2019 21:55:47 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=ZuVXg+mOjmJLml3CyC2a7eNxjAlpMP6FXYgHSFC2ywY=; b=JSFovdxN+NL3ZGazMk6VFpH8ZLQDys4c9sDyAWOMvP5EuDrfvWw1poaYmrunU/7Tx7CB aTetypqvLhLIBe5D1xM0//goa2UkoN7cvueMsO83DRZ/jz68mMUUwRIwnk/K/Wl2HQFR 3GagVmHZeOyDHYc1eVtzWk7vKMulIzFRTXgGkbAofFc5+OQjY/u2iO4GQd7OTjyCtdgf rCmZem1mz4Ok/fLy7QrhHUfw1LgLQdjYDUl+2CL2fJd18Lqc03K4keH2P5d9Gbzi6F+d 4dwOJwtoSlDkn9wGoAw0ciVZq76vtuySUFojvbqdc7A1fmXI0s2l/5Rmd80klY3TzxEk bA== Received: from sc-exch01.marvell.com ([199.233.58.181]) by mx0a-0016f401.pphosted.com with ESMTP id 2tjs0nx69v-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT) for ; Sun, 07 Jul 2019 21:55:47 -0700 Received: from SC-EXCH04.marvell.com (10.93.176.84) by SC-EXCH01.marvell.com (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Sun, 7 Jul 2019 21:55:46 -0700 Received: from NAM05-CO1-obe.outbound.protection.outlook.com (104.47.48.52) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Sun, 7 Jul 2019 21:55:45 -0700 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=ZuVXg+mOjmJLml3CyC2a7eNxjAlpMP6FXYgHSFC2ywY=; b=mEH6WIvKtcijm2oTo1Jg1nScmReZYpTLQe+JuG8rsgeZQrgnDzvsCTNfI78em24ack4DM9pIcLRfpsdVxYv5HTe+T9u6B6mHhvS2EMZTq8JI548WskaDDugy+r9FkRoqN+Zsh51juwPCE5G2ba1/QZGgG1gG+w+vKEYXRFlbnrQ= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB3063.namprd18.prod.outlook.com (20.179.57.139) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.18; Mon, 8 Jul 2019 04:55:44 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::2d42:12b6:aa2e:2862%4]) with mapi id 15.20.2052.020; Mon, 8 Jul 2019 04:55:44 +0000 From: Jerin Jacob Kollanukkaran To: Kiran Kumar Kokkilagadda , "dev@dpdk.org" CC: Kiran Kumar Kokkilagadda Thread-Topic: [dpdk-dev] [PATCH] net/octeontx2: add PF and VF action support Thread-Index: AQHVNT5Z+485f/rRZUSuYJNWt9AYhabAKCgg Date: Mon, 8 Jul 2019 04:55:43 +0000 Message-ID: References: <20190708033615.26373-1-kirankumark@marvell.com> In-Reply-To: <20190708033615.26373-1-kirankumark@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [14.140.231.66] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 5f208482-5232-45a7-101a-08d7036088a2 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(7168020)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB3063; x-ms-traffictypediagnostic: BYAPR18MB3063: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2512; x-forefront-prvs: 00922518D8 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(346002)(136003)(376002)(39850400004)(366004)(13464003)(189003)(199004)(305945005)(8936002)(107886003)(99286004)(25786009)(8676002)(478600001)(446003)(11346002)(7736002)(81156014)(476003)(74316002)(81166006)(110136005)(14454004)(6436002)(6116002)(26005)(102836004)(53936002)(55236004)(3846002)(9686003)(53546011)(55016002)(2906002)(186003)(6246003)(6506007)(66066001)(7696005)(76176011)(229853002)(33656002)(4326008)(76116006)(68736007)(64756008)(66556008)(66476007)(66446008)(4744005)(2501003)(486006)(71190400001)(71200400001)(52536014)(256004)(73956011)(66946007)(5660300002)(86362001)(316002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB3063; H:BYAPR18MB2424.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: Vx48/4xTcRQrQ2bLFG54zP93IUFo7QxL/IZWrc9gslaINEsGQKwUHBUiCJmiw61oZpJg0SXWbJEIZFfrhWGdwpYX7fAMEuiSP0eu5BkEWy8Gt/NvzzmToafZXGeCp6RUEomgiIKZvi7d7Y1qZt78TmNf4yh9A1cVnQY0Qvz1nwGoG2uYYdPLr+Ok44yEdccOUYFMZ5/b6YJb2ucETKd7Apc0r1IMteBzDdZDgkwblmQWzoNGaN/467lyiweIK1tRdsDv/BVtW8YJo/XmE9t10Ek+DyA73xXB0JijnBd/jemgjaVYLkvuPhpl8dZ7yevGc0RKQoUgbwJ5vtrNIvnduO22V2Vxo+as5/kc8WI4dNRZc41P7DbGBwr4BD9StgMkMcrtLHD7ojTeyV4XNTMGW+DZ8p2otvWdF1cX6Y6NWJY= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 5f208482-5232-45a7-101a-08d7036088a2 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Jul 2019 04:55:43.8561 (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: jerinj@marvell.com X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB3063 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:, , definitions=2019-07-08_01:, , signatures=0 Subject: Re: [dpdk-dev] [PATCH] net/octeontx2: add PF and VF action support 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" > -----Original Message----- > From: dev On Behalf Of > kirankumark@marvell.com > Sent: Monday, July 8, 2019 9:06 AM > To: dev@dpdk.org > Cc: Kiran Kumar Kokkilagadda > Subject: [dpdk-dev] [PATCH] net/octeontx2: add PF and VF action support >=20 > From: Kiran Kumar K >=20 > Adding PF and VF action support for octeontx2 Flow. > If RTE_FLOW_ACTION_TYPE_PF action is set from VF, then the packet will be > sent to the parent PF. > If RTE_FLOW_ACTION_TYPE_VF action is set and original is specified, then > the packet will be sent to the original VF, otherwise the packet will be = sent to > the VF specified in the vf_id. >=20 > Signed-off-by: Kiran Kumar K Acked-by: Jerin Jacob > --- > doc/guides/nics/octeontx2.rst | 4 ++++ > drivers/net/octeontx2/otx2_flow.h | 2 ++ > drivers/net/octeontx2/otx2_flow_parse.c | 32 > ++++++++++++++++++++++--- > 3 files changed, 35 insertions(+), 3 deletions(-) >=20