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 B344A42DF6; Fri, 7 Jul 2023 11:22:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3F15A406B5; Fri, 7 Jul 2023 11:22:28 +0200 (CEST) Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 4C22B40685 for ; Fri, 7 Jul 2023 11:22:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1688721746; x=1720257746; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=+zXNbjeqlesbuJdC4wzaYZPRZMlyKXKHMArme+6R1Rw=; b=aFAfBYekFwlwTNHwe3ViGmlrtVWaLLnWgH2jgJmdHoPQ9Q2GkjRdopvP ncomkpByK6awJ+wxSK1bKHmoHjVksAPJ18dwdTAXc0pg8EnyQn0HUqyl4 aRKdD6LBg6vwYq29iz6MJQKNR3cfVL4rkHmwvcFgSO6gc+fSaP+bUtu7+ RgQHqT9cZV8O1ES6nkYafsIabx/D0lhPKIpHp5QBrZ9Ace9+dygyxbYTo 2dKmqpF4OmOdMqVaRgi1yY+BmdPel0PmFmiP5IOUJlggeybM3/AjrlGT8 NkTTOWVC8F9PC0k0ZS4hR7OwvrNJR7e42v0flK8FzbDfyJ/rxUF+I97ts w==; X-IronPort-AV: E=McAfee;i="6600,9927,10763"; a="366429692" X-IronPort-AV: E=Sophos;i="6.01,187,1684825200"; d="scan'208";a="366429692" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jul 2023 02:22:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10763"; a="844052732" X-IronPort-AV: E=Sophos;i="6.01,187,1684825200"; d="scan'208";a="844052732" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga004.jf.intel.com with ESMTP; 07 Jul 2023 02:22:25 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 7 Jul 2023 02:22:24 -0700 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 7 Jul 2023 02:22:24 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27 via Frontend Transport; Fri, 7 Jul 2023 02:22:24 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.42) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.27; Fri, 7 Jul 2023 02:22:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eXBG2AND4uDEAdvFu807ASA3mYPGjfk0gbiGd35N2ZJY2Gm33NrlnSWAhOJPqZkQOnF/W6mnXDWYgRKtA9iEysOW1G94NT/BZ/MBUzjn+pjxVAMzwF2Sj2ZxjXdllIF0KjTiqVliPd4LOVO1IE6kKg4pdOjURW3AnsYY7nzrU56mRH8+jNPHDSNe7pbg+Tumi8YUscQOOax5TOx3f8LOKpBY8xr5Cj2onCPB0AsoeEWdSp/lpg5p2/Loz+kcTKwGflzt2LFo5SWnbR8ek9ccnK2dtIcnxD7KzgoUyn8oqF4iDksaSwFPFLmcNY96S9s6HCJliNVw+SIguV37go/t2A== 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=fkSNTWA3oVpFrpinvnJ8MGzGQU44womCnsiCrFV55gA=; b=DjXqXfG8uqphWahnPvY1gQPlk4d0DOnS4kl5z7JbSHtI3hVnJU/GSMxKVSOontvgYRnIQQ2HGjdgC7hc5fN3ZtNQ/yOU3EKbJC1sE6S3Fa+gUU4F7VALS/Xewz78k8Z3+/yQkzqdLX68fV64WUpC5PAenOeUtWZJ3RkyC9XtRjWi6ezGHju2A7M28zISMQGzzk/RnLKRI/3o3V5qWY21VLWndBKMGO65gu+z23AELsY81Bxph3EcglZIUUVsApqqJbZHeDEk8DaGI6+dTvi8eSFHre5EPgtmDykQ8XFsbmWQiXViP1CSuZu5Pmnl5GtIyjFOZ26eS8HAyV1eBo0Vwg== 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 Received: from BN0PR11MB5712.namprd11.prod.outlook.com (2603:10b6:408:160::17) by CO1PR11MB5204.namprd11.prod.outlook.com (2603:10b6:303:6e::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6565.17; Fri, 7 Jul 2023 09:22:17 +0000 Received: from BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::c140:6608:2ed3:ec89]) by BN0PR11MB5712.namprd11.prod.outlook.com ([fe80::c140:6608:2ed3:ec89%3]) with mapi id 15.20.6565.019; Fri, 7 Jul 2023 09:22:17 +0000 From: "Huang, ZhiminX" To: "Qiao, Wenjing" , "Wu, Jingjing" , "Xing, Beilei" CC: "dev@dpdk.org" Subject: RE: [PATCH] net/iavf: fix vlan offload strip flag inconsistency Thread-Topic: [PATCH] net/iavf: fix vlan offload strip flag inconsistency Thread-Index: AQHZsKjYcxG9wEsFWUuDh0y84eoAPa+uBzKQ Date: Fri, 7 Jul 2023 09:22:16 +0000 Message-ID: References: <20230707075802.620018-1-wenjing.qiao@intel.com> In-Reply-To: <20230707075802.620018-1-wenjing.qiao@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN0PR11MB5712:EE_|CO1PR11MB5204:EE_ x-ms-office365-filtering-correlation-id: 11b3215a-af97-4089-0ed8-08db7ecba7fc x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: pF52hzmmgdt0F2pnigwjIChChLRssJFS5GMUIl7SbmzN8hY2GpaPrI5b3f/WTla7ipls7G6YCiRW2SdsCeK+Ee0b5xlE35BKGVpetly7H3R5jr2gXM71vHTvzwgC8ybvUfTtXipgct3uI5LgX0Gzocu5YwV63DHQEUykmG3p6jJMJauDSHyf4g8Ruxcya6DnHV+aLy1VGh2bBZS/7H99xzMAms6/0zXybftWIriaxjXyOSF9+CuRAKpVtEscjjB0S+r6ghZLNjMv/rPIIZ8uOzKlEs8GGHvBhi0hFsgLz3zfkRNlkIhjq6ReVT31Qd9k0k/BiEf1QQXMdOhLWv/u9k5EzIalGrWVqYZGeTDoGnF25La8BrklHiqxD7pv+uMvxY91nO2DT9W3JyeDuAbZQjmJviimfXalZmHkIraeIGlV+qm7+rceoB17QBVvVSqabgxfOC3RdyF+AmMojCX/VpVTTBiyGvjch/Jcx1pmKOhZm4vVIYtQV7E2urld82Ujt5nVEZ8pSbU45eQOjDZ28d2SI2NLCEk2XcFdHlBNQ8JFOHhYmx3jcc3JVUTd5MSXQKfcj0B4aOZsyRxzRAL7qhShHKl2gMvMtQExX5MWoQ/368TAKnogx1+CXSsO7k8Y x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5712.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(396003)(136003)(39860400002)(376002)(346002)(366004)(451199021)(8676002)(41300700001)(8936002)(52536014)(71200400001)(110136005)(55016003)(4744005)(316002)(5660300002)(2906002)(7696005)(6636002)(66476007)(64756008)(66556008)(76116006)(4326008)(66446008)(83380400001)(33656002)(478600001)(82960400001)(186003)(86362001)(38070700005)(122000001)(66946007)(38100700002)(53546011)(9686003)(6506007); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gyl60j6wG64pxm9qK0zxJrQ4z6qN9QzuRHatNQnc0A6A/55lefF2+qAwqUhb?= =?us-ascii?Q?EVjddfcZMwsIQxUatEHZIFJRtocVNURoIvrN/tvAhuosfVbDwwDq9nEJNSdZ?= =?us-ascii?Q?vge2oP9dl4SgzaSQG3S3vXo0e2lMWanmkPueWDEml/LC2wC2VK+ir0Oe2aEq?= =?us-ascii?Q?hDpioZtjSYIhTcwzAqWOC7s7+588DhqLlwTDaievcWymTdqEAu4aDZ+VkH/j?= =?us-ascii?Q?bEsCnsrZf18eHKHE0YmCQYRdf3LXTGgQ3467C3r9LgzCVSU559A+4yzmWA5k?= =?us-ascii?Q?//NTwKZJYiReEqS4hsIiZzh3QYujxrRUAWfESI67qQXhwd7TwX/KcRa7vhDS?= =?us-ascii?Q?LFnUAQ/TEdUL6kObPqVWj1Ca+JQR4Wqgo7yQbb0v8xTkrxKSOlsiolzluGhP?= =?us-ascii?Q?XCTRnSEOH1Gb6JDts1D6w+fsebnLy+up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0ND7Sob1v0ei/vnAIAcW0PoZKPdgp30HmfRtSdFlQwHRTs8/jBn?= =?us-ascii?Q?knu06Iqc2QtHnPmWUreLqYG8dLkM6WobXcSf9DUR7bCB2dUSNvwiPdQtXI4q?= =?us-ascii?Q?MRIIC65KlvbiSeBqUqFtuhVBpgxvT03cEYDtdvFVcQ7ZF+c5fIjKBLKIuu7R?= =?us-ascii?Q?AY0wEMxloDJA8kcOEA+zvB7Svh7yV4CIMwGa+CokzAjKirhtnZL5DsAdE26P?= =?us-ascii?Q?hyf1LFNoXBhjTjoXXvg=3D?= 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: BN0PR11MB5712.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 11b3215a-af97-4089-0ed8-08db7ecba7fc X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2023 09:22:16.4326 (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: +bpmjSK+cYFfgkGHIgvqoVYh49fpNw723VFh+dGbrADUKU8dtmjNtj22dg0eIoAZVDoEponVsyZf8nf9Z4twrg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR11MB5204 X-OriginatorOrg: intel.com 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 -----Original Message----- From: Qiao, Wenjing =20 Sent: Friday, July 7, 2023 3:58 PM To: Wu, Jingjing ; Xing, Beilei Cc: dev@dpdk.org; Huang, ZhiminX ; Qiao, Wenjing <= wenjing.qiao@intel.com> Subject: [PATCH] net/iavf: fix vlan offload strip flag inconsistency For i40e in-tree kernel driver, it will set strip on when setting filter on= . To be consistent with dpdk, disable strip again. Fixes: cb25d4323fbf ("net/avf: enable MAC VLAN and promisc ops") Signed-off-by: Wenjing Qiao --- drivers/net/iavf/iavf.h | 1 + drivers/net/iavf/iavf_ethdev.c | 18 ++++++++++++++++++ drivers/net/iavf/i= avf_vchnl.c | 2 ++ 3 files changed, 21 insertions(+) Verified vf vlan filter and strip cases in i40e and ice intree driver, test= ed pass. Tested-by: Zhimin Huang