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 44D64A2E1B for ; Wed, 4 Sep 2019 15:29:06 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 0EDCA1EDC6; Wed, 4 Sep 2019 15:29:05 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 61D7E1EDC3 for ; Wed, 4 Sep 2019 15:29:03 +0200 (CEST) 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 x84DQGeT019172; Wed, 4 Sep 2019 06:29:02 -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=qoWhoP4OQ9qDq9DHib8eyGsi2ZhvcX+c9JD3CWRaDXE=; b=ktCFbmKaRe6KED4olWq2zkgh91I25n8LQj2VNPDXAX5GsQEgoG1Bt3FzXjD58y1k2vPd rWr4EmbRtksAwUuN47Xx8udoi8t4IFs+/9YDvgJfeMu2GRgYvFQt9KDUYbmtTg/CyJwE 4fHQEom9SWi4hCTHzyXtkPbfowXNGQGlvA6JGDbHTDt2JVHa/TpqQ6SbqTCZju+AACoo WzMI8MmaXqbxMrJSoXRo/22gFqGHcX4FWW8UGjPG1rGacrEVOkOLwdukKAoSxj6Xsmob Yg+gVhKwr+IsQqO0OnaikO2/FHI37IScVXMYtyXqA9Nb9hDxJA2HYtH7cBFTAEdOLgbO 8Q== Received: from sc-exch03.marvell.com ([199.233.58.183]) by mx0a-0016f401.pphosted.com with ESMTP id 2uqp8peu0p-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 04 Sep 2019 06:29:02 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 4 Sep 2019 06:29:00 -0700 Received: from NAM05-DM3-obe.outbound.protection.outlook.com (104.47.49.51) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 4 Sep 2019 06:29:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FY823lWrq+fzdEs6KoAZOyVERgMQ2vk9vVZ5OZul26PvGEipkDuWvzKzl2+ACU8hBWKbdR6ipON1Cg7lvmfzeOlVnNo+YZDNrfMW5REwTFT6q7zkHZ7hxILfW6Yxb28huNRnxlbEjz7MfxE04yK/txtYiRwRWcWl7ETHKDX69DmuE+JKAFMv/mxc7hZr7iIG5NCxQh8sS3+sMdV6siLidq6Fl6P6TSLepulG6Ff/aF+BBtcRzk+DZ3OVe5btB9hwp9GTYDOUiCZdZxGAzQsKK5FKpMgxtRaRJoqd+vGaXzfkWPCWiVywAAPCGleUCzcO8QvKIcJEJf5tnEVb+Y+ilQ== 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=qoWhoP4OQ9qDq9DHib8eyGsi2ZhvcX+c9JD3CWRaDXE=; b=bz+Kbilkxz3b8Hqoq+MUU+cuky1Rl4CURu+ConW2BDeYt2kwekn/I0v5LWwo6tpg+2IF6I0jh9W6ai5WYl9e4X8ccJkNTwVQ3rdBQ1ge9vVWkjHgAk2N7PPsZaHO9e4OvgNQYA4NEN0aZyp+Mk7DQtBCvHt+4OPyrPxN10sLoWhfqqP+4YaFRD7uqMoakO98Ogh9ldVMbzukUpAYlz0NN8V5oMA2D9eoA6tVknwfFJVFE4zrmrwCLSqDSWVB43PV/uB3ZKMYbZZs4NoMMuFfJRV8zm/HSotA4h7eQbsV9DbwVUzw4+KY6dmhAdEEnpzH/oLnCakMY4gMFVdZY3wV/A== 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=qoWhoP4OQ9qDq9DHib8eyGsi2ZhvcX+c9JD3CWRaDXE=; b=e9w2RnHREcECJzy+P+hHjHFoRFNUNvXcUiJSIOFYV84TAMEf8QG+Iu/sZkyfjVFBPDrRRByqd0n6ufXMqKmlnTcxYk1k/xlth2DIt7ECtDEgZGcJyYc86UhtVRsLZRVsIvmsFc93IgUmbx7SbYfGbAyCLqZi67KRtThaFNv6/js= Received: from BYAPR18MB2424.namprd18.prod.outlook.com (20.179.91.149) by BYAPR18MB3047.namprd18.prod.outlook.com (20.179.60.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2241.14; Wed, 4 Sep 2019 13:28:57 +0000 Received: from BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1d8b:430f:c74a:33]) by BYAPR18MB2424.namprd18.prod.outlook.com ([fe80::1d8b:430f:c74a:33%6]) with mapi id 15.20.2241.014; Wed, 4 Sep 2019 13:28:57 +0000 From: Jerin Jacob Kollanukkaran To: Shahed Shaikh , "dev@dpdk.org" CC: Rasesh Mody , "ferruh.yigit@intel.com" , GR-Everest-DPDK-Dev Thread-Topic: [dpdk-dev] [PATCH 2/2] net/qede: implement rte_flow drop action Thread-Index: AQHVYxT/qVuLTMpK4UCDVL+0Ea1/0qcbgtbg Date: Wed, 4 Sep 2019 13:28:56 +0000 Message-ID: References: <20190904113046.2213-1-shshaikh@marvell.com> <20190904113046.2213-2-shshaikh@marvell.com> In-Reply-To: <20190904113046.2213-2-shshaikh@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.181.204.84] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 243ec484-16ac-4cdd-278f-08d7313bd6c2 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328)(7193020); SRVR:BYAPR18MB3047; x-ms-traffictypediagnostic: BYAPR18MB3047: x-ms-exchange-purlcount: 1 x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4303; x-forefront-prvs: 0150F3F97D x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(346002)(376002)(39860400002)(136003)(366004)(13464003)(189003)(199004)(71200400001)(71190400001)(66476007)(107886003)(25786009)(4326008)(256004)(478600001)(14454004)(6246003)(66446008)(66556008)(64756008)(966005)(76116006)(66946007)(476003)(11346002)(86362001)(446003)(229853002)(486006)(33656002)(76176011)(8676002)(81156014)(102836004)(8936002)(81166006)(7736002)(53546011)(6506007)(74316002)(305945005)(6116002)(3846002)(2501003)(26005)(186003)(316002)(5660300002)(110136005)(52536014)(54906003)(4744005)(7696005)(99286004)(6306002)(55016002)(9686003)(66066001)(6436002)(53936002)(2906002); DIR:OUT; SFP:1101; SCL:1; SRVR:BYAPR18MB3047; 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: 3WCC0RrfQOAK/m2S+Ry7v+iT5U4zJY26lpe7AFURblzo2zzCS+DrK015vZixtyWKoYZsSrdy6A9vRRxiP2NLBdN/Wj8mSdVdsbcjLu1+PG2VJEWyW4FoD+B79NnJeF2Iz+k3b1Frw55esw1DZHitZqekTP3bdLNiE6viqG0IpTu82Kzmlwfd8L76S+DaaYMkYARtVydRxI30zxsq71kgYtTBzens0wC53sH6RGo9sp/m2hiAIYbhRYN6ki/QPFDKISpk1+oy5KtkawPXm2ZsraQ23O2ha7RBvDrF+rrZAuigaaur/fFA2H1MER6v3vsUveZVAat681cwLptkhIGwMEQWwGA5aIjkDjhWGcL1DP3hpHsFyT2et6w1bjP9+axbZmodsuwva6Vq7mAfatGw4GpKgLPKT3v8fZtYAQkvaVQ= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 243ec484-16ac-4cdd-278f-08d7313bd6c2 X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Sep 2019 13:28:56.9975 (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: jwhdhA4gnOAxD9j8+4wEBl53TDJU2zCAsQulxH/awrYVdsXtOG+bo/PTLPDmbnAsfZD4sAmZf2iTd6ABeOor+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR18MB3047 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.70,1.0.8 definitions=2019-09-04_04:2019-09-03,2019-09-04 signatures=0 Subject: Re: [dpdk-dev] [PATCH 2/2] net/qede: implement rte_flow drop action 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 Shahed Shaikh > Sent: Wednesday, September 4, 2019 5:01 PM > To: dev@dpdk.org > Cc: Rasesh Mody ; ferruh.yigit@intel.com; GR- > Everest-DPDK-Dev > Subject: [dpdk-dev] [PATCH 2/2] net/qede: implement rte_flow drop action >=20 > Add support to configure drop action in RTE_FLOW infrastructure. Also, ad= d It would be good to add supported rte_flow actions by qede driver in PMD documentation. Reference: https://doc.dpdk.org/guides/nics/octeontx2.html > statistics counter for dropped packets due to this filter action > "rx_gft_filter_drop" >=20 > Signed-off-by: Shahed Shaikh > --- > drivers/net/qede/base/ecore_dev_api.h | 1 + > drivers/net/qede/base/ecore_l2.c | 50 +++++++++++++++------------ > drivers/net/qede/base/ecore_l2_api.h | 39 ++++++++++++++------- > drivers/net/qede/qede_ethdev.c | 2 ++ > drivers/net/qede/qede_ethdev.h | 1 + > drivers/net/qede/qede_filter.c | 22 ++++++++---- > 6 files changed, 75 insertions(+), 40 deletions(-)