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 C303FA0547; Sat, 13 Mar 2021 05:17:13 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 51E811608E8; Sat, 13 Mar 2021 05:17:13 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 238FE4067C for ; Sat, 13 Mar 2021 05:17:10 +0100 (CET) IronPort-SDR: ieyVH0nrV47wSutLScuIB+WjZA0yJoM3p30ggR6ojZzmkEW6c1Lq0gfvN0niam7YuTsbqByd0T R7rAsH9cTUXg== X-IronPort-AV: E=McAfee;i="6000,8403,9921"; a="252935577" X-IronPort-AV: E=Sophos;i="5.81,245,1610438400"; d="scan'208";a="252935577" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 12 Mar 2021 20:17:09 -0800 IronPort-SDR: 0Exon/p5t6m/FOot8EiD7NK7RSOtTk+Q/ykSdxSH41FxNBw+SvzTg2hi7e9O4pamRkqR+9lHwY HVan14EtHh9Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.81,245,1610438400"; d="scan'208";a="521624639" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orsmga004.jf.intel.com with ESMTP; 12 Mar 2021 20:17:09 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 12 Mar 2021 20:17:09 -0800 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2; Fri, 12 Mar 2021 20:17:08 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx604.amr.corp.intel.com (10.22.229.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Fri, 12 Mar 2021 20:17:08 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Fri, 12 Mar 2021 20:17:08 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ehirdk+mIqgcSSXEnyaHHlIoI7BzSqL0jIS8s6Ten/yv6OO4QLa4mfQ0g2nvDxD5sQmiyIQw/pRK+I027o0nRfdxHfqRA5Q6IosCUpU3OQpRhgWQZpUmol9gxHsTfErJR3iOHFwTu1AcugMqi8iIO144eVBGuirGUfMJc3tQsKhJaAQEw5HUyZ9uWJg6Wu99lr/n34l7z4r9atKBjBHISUj9teD94lXlcH/vaygrlRij3cwW1TkpzXqdTiYzVQP7kiDScHWFzf09ZXbs5PHV7ZBKSuGTK0m2mAafwlCDdQnh+wION9DVkSvOffSRiSfE1CFBrk9vxSNIJoYUnVQDbQ== 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=do/oruU1e6T+Si/Qz/WMQalKgUQRtTI3EPJ6xe1n1bY=; b=aVNqmVIx8dxr4kgpJbEYMckaP4Bcp0DEXAEiA/rCdT3sKz4ut8wlLDo6dmMD7ZNLYZ/J3b0qQoBIC902avleiWrH21jBkwgcubnDrv25lF0kU6LkVAzmvZTGrOK4K5X/FXilbOuDadD/ovCP0NeMdgf+R77J7LINt8DehUGfY2cRPpk1umsfLbc40q95VV/Zfsvi4hfq1GJBUu21KZx86GIwyb3PhldHM8bKmx4LYz0LKSeZtAfpOSzRqg8wYxoHHya2UK46wKwTzUHFhIhC7tjzUo1w4hbF+AzPNGJLJJEa393t1cTkGqStCVXp8NBGN6hwzuMyXa4dS/RD3Ckn1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=do/oruU1e6T+Si/Qz/WMQalKgUQRtTI3EPJ6xe1n1bY=; b=k/sbyvD6jTmgs73TPKn9jjhXk/70om868PdFjWAaw27CJoFkQ/GFk/uhnoKYqNdui0MYsxqlpPiIu+05CGZYfPfEXeVNRFeWpm+kKg4OMTuEXJo6XAFCyAo/YLbDMUEZGBK+ciOgFGx/GXWQkblNg9UsR6P8pvbOYrpR6Wc4p9I= Received: from BN8PR11MB3795.namprd11.prod.outlook.com (2603:10b6:408:82::31) by BN8PR11MB3793.namprd11.prod.outlook.com (2603:10b6:408:86::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3933.32; Sat, 13 Mar 2021 04:16:59 +0000 Received: from BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::ec6a:25a8:8c59:89e]) by BN8PR11MB3795.namprd11.prod.outlook.com ([fe80::ec6a:25a8:8c59:89e%2]) with mapi id 15.20.3912.031; Sat, 13 Mar 2021 04:16:59 +0000 From: "Wang, Haiyue" To: Thomas Monjalon , "dev@dpdk.org" CC: Ori Kam , Ajit Khaparde , Somnath Kotur , Chas Williams , "Min Hu (Connor)" , Rahul Lakkireddy , Hemant Agrawal , Sachin Saxena , "Guo, Jia" , "Daley, John" , Hyong Youb Kim , Gaetan Rivet , Ziyang Xuan , "Xiaoyun Wang" , Guoyang Zhou , Yisen Zhuang , Lijun Ou , "Xing, Beilei" , "Wu, Jingjing" , "Yang, Qiming" , "Zhang, Qi Z" , "Xu, Rosen" , Matan Azrad , "Shahaf Shuler" , Viacheslav Ovsiienko , Liron Himi , Jerin Jacob , "Nithin Dabilpuram" , Kiran Kumar K , Rasesh Mody , Shahed Shaikh , Andrew Rybchenko , "Singh, Jasvinder" , "Dumitrescu, Cristian" , "Wiles, Keith" , Jiawen Wu , Jian Wang , "Yigit, Ferruh" Thread-Topic: [PATCH v2 1/2] ethdev: replace callback getting filter operations Thread-Index: AQHXF2fRyhcjAjmEW06IYmS2F6iHzqqBTzEg Date: Sat, 13 Mar 2021 04:16:58 +0000 Message-ID: References: <20210311221742.3750589-1-thomas@monjalon.net> <20210312174645.162801-1-thomas@monjalon.net> <20210312174645.162801-2-thomas@monjalon.net> In-Reply-To: <20210312174645.162801-2-thomas@monjalon.net> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.6.0.76 authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.198.147.220] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b4f4ae04-0a5e-4285-2e4f-08d8e5d6d881 x-ms-traffictypediagnostic: BN8PR11MB3793: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:2887; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: rZZyDGvOBubCljW71yqud3OJqxOjVP35DlgXFinTvSSmxvWipAhMQDkhrDWd/rruDzHPRsCACUJKhumR7UE5D+QGKMMr2hPnT0VSYEvJ8elX8uMYpmxCUi0LBCcwNz/Mzy7sfDaUchuBCu1wTXJP/EqBHgdQCA9xaKR2h6M3rR0jg10TyaKNDv/C9Wjjl3fDJWz1ePWlNVwb1YRSKW09hYvYxM8mGHadaPhJC2tQdTPk7UyyljtG9oLk7qfK+Ks7ftxgKk6ULcF9rGmKNzCt9nIL0nVHtlhH62ZEXUuCrfZBHI6L//S12krG9UqO+eZfw6fqikls3M3FkrwLDolnvN+9CVIyCQksdFuKHpoADzZeaA2yq1ZDRZ09sNQ2hLihdu3EDVzBzVWwPOl/BzoLDUv7T7neR7dio343UjkVgZ2ZQ715YKLdAF82KHpcgzfHh8VG11GbKDcUovskcIrgT4iwWtT2fLZ4YfUfFUJgwA0yjQMCNRNPohlbU+TcL9PyBFvicTfaEEooDR9e3OjWYLRk+sbn7EM/co53yMFLppXKAusIq6HnwPxgKy4eNn29 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN8PR11MB3795.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(136003)(346002)(396003)(366004)(39860400002)(376002)(110136005)(71200400001)(316002)(7406005)(8936002)(8676002)(7416002)(478600001)(33656002)(54906003)(26005)(86362001)(186003)(52536014)(83380400001)(66946007)(5660300002)(6506007)(2906002)(76116006)(9686003)(66446008)(66556008)(4326008)(64756008)(55016002)(53546011)(107886003)(66476007)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?JOG2DTwnK7CRc0Mo4APDLfuQD5yhlhmoOVfBOWr5CV26nB53AVTmIgkSZWe7?= =?us-ascii?Q?1jKX0lSbSqM7L9eg9OQIEnAUeB5wpPShq4/mMm05XWlu8zVbaEBgkOPQTAHW?= =?us-ascii?Q?tsd/N2rBlidIsppliE9htpkbB+CSro3aYwMYN3/ZWats1CN3074oZRT7C17j?= =?us-ascii?Q?OhCdi3bpz949TDUvom4v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Q?kmJK7kR1kFY45KvBiMqJpbZDAdeAhuiCPbWsE/+ix1Qdce4zylUWxDE2qGeV?= =?us-ascii?Q?6ZZAanuzUBmK6dHyrX4kREF032Sys9wAgWLfxpA1gasCx23x0siBeuyzRFVj?= =?us-ascii?Q?vud5qFZm+iHK4cAeylUtrox4Q8G3cdpA+sA5Sh1zuQFOguoLFw0YNhhe7tT7?= =?us-ascii?Q?yVTJCcD2kTWYT9bDN4AVlFKTCQW6dGXgYOfX76WajlYMW9qnkO4lDvQQnmDH?= =?us-ascii?Q?Mm7Y9GFwI3P/+1pe0Cr2U/Bg?= 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: BN8PR11MB3795.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b4f4ae04-0a5e-4285-2e4f-08d8e5d6d881 X-MS-Exchange-CrossTenant-originalarrivaltime: 13 Mar 2021 04:16:58.7463 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lMPZ/tLmEYiILgt2JLXv8jnk9vHEqn+BZCLTcMtW6UrjkzXK/8Mse/+4GttAr9+A6qZ7IIvBiEHj4RRS2LZy+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN8PR11MB3793 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v2 1/2] ethdev: replace callback getting filter operations X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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: Thomas Monjalon > Sent: Saturday, March 13, 2021 01:47 > To: dev@dpdk.org > Cc: Ori Kam ; Ajit Khaparde ; Somnath Kotur > ; Chas Williams ; Min Hu (Conn= or) ; > Rahul Lakkireddy ; Hemant Agrawal ; Sachin > Saxena ; Guo, Jia ; Wang, H= aiyue ; > Daley, John ; Hyong Youb Kim ; Gae= tan Rivet ; > Ziyang Xuan ; Xiaoyun Wang ; Guoyang Zhou > ; Yisen Zhuang ; Lijun O= u ; Xing, > Beilei ; Wu, Jingjing ; Yan= g, Qiming > ; Zhang, Qi Z ; Xu, Rosen ; Matan > Azrad ; Shahaf Shuler ; Viacheslav = Ovsiienko > ; Liron Himi ; Jerin Jacob ; Nithin > Dabilpuram ; Kiran Kumar K ; Rasesh Mody > ; Shahed Shaikh ; Andrew Rybchen= ko > ; Singh, Jasvinder ; Dumitrescu, Cristian > ; Wiles, Keith ; Ji= awen Wu > ; Jian Wang ; Yigit, Fe= rruh > Subject: [PATCH v2 1/2] ethdev: replace callback getting filter operation= s >=20 > Since rte_flow is the only API for filtering operations, > the legacy driver interface filter_ctrl was too much complicated > for the simple task of getting the struct rte_flow_ops. >=20 > The filter type RTE_ETH_FILTER_GENERIC and > the filter operarion RTE_ETH_FILTER_GET are removed. > The new driver callback flow_ops_get replaces filter_ctrl. >=20 > Signed-off-by: Thomas Monjalon > --- > drivers/net/e1000/igb_ethdev.c | 31 ++++------------- > drivers/net/igc/igc_ethdev.c | 2 +- > drivers/net/igc/igc_filter.c | 23 +++---------- > drivers/net/igc/igc_filter.h | 5 ++- > drivers/net/ixgbe/ixgbe_ethdev.c | 32 ++++------------- > 52 files changed, 233 insertions(+), 723 deletions(-) >=20 For e1000, igc, ixgbe PMDs: Acked-by: Haiyue Wang > 2.30.1