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 015C7A0524; Fri, 27 Nov 2020 02:17:58 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 496E6CA89; Fri, 27 Nov 2020 02:17:56 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by dpdk.org (Postfix) with ESMTP id 6CD68CA68 for ; Fri, 27 Nov 2020 02:17:54 +0100 (CET) IronPort-SDR: kQT5PSS3XP7VngXBoPPN8ZpfpBOJ2svvh4YgSeXlRHJoIoBTXGMSRdKhdmv53WFGZvZ+ynJDny 7FMxoVcu9gag== X-IronPort-AV: E=McAfee;i="6000,8403,9817"; a="159385595" X-IronPort-AV: E=Sophos;i="5.78,373,1599548400"; d="scan'208";a="159385595" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Nov 2020 17:17:51 -0800 IronPort-SDR: FplibArbcugC0AKfzMEdLreDXKMgkYpBHojeIucu/FlgYwd34nPxch+rio8/lAIhFrJT6BGE9m SeX+EToDSZOw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.78,373,1599548400"; d="scan'208";a="333521812" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 26 Nov 2020 17:17:51 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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.1713.5; Thu, 26 Nov 2020 17:17:51 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 26 Nov 2020 17:17:50 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5 via Frontend Transport; Thu, 26 Nov 2020 17:17:50 -0800 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.170) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.1713.5; Thu, 26 Nov 2020 17:17:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ftMP9xOFfO8w+d54uAF45HQtW5HzV50Ob1UniGNDA2HzUdhOPiL6P7MUPatZVR6jDPeeePEhadQXKkaswVnDRM8VVaBSepohPYk2sFZhVftcBqBN87O1KbVICMGJGK03NFO4kN9/GUQLNFPkYl+Igd/3aTNGfR4lp/R9c+nUPRT8cEVevRHwomWNqoL1xabltwh3gZDz/BGlZH3xr9G3SMXNqTduCy5ZPeiYG5zRnNY/pha4y2iGeYdqwVTAKuWB4x5YyRsguS+5er1yrjt9YQaazVj5WBzBtDreZ3NzcqwfmO8MpTKZJWxYHpkYGXy9l/lVXuMW1RIoRlMnmli2dw== 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=ujyCFPphsGIkul1NsJ+DiosZCnKQxe9/tKjWHaOjn44=; b=hz3SOaoCgR2KTSK8LO8Ge51sCSEAMjeOuocBgwO5Z9ZSNMoFRRtnLD6aT+Vu3QzemIwvsX76no6plP5OqnLCO84PPCTL/JpTo5Nhs9U0eCX0LAu9u3YBL4IjyrxbcgtkTEFpPXJpp3c3jy7OGNnQt02T3xfmdOPs+HT/Kl/BxCiJZP5Cx8zp9Ptx4YdnYXIdc4EqhfrcrnaQxFAvMgRNsSoYidYRK1q9oZMjS0XuFx1ISc3bdFI5w9vDd7vXxR4bqnAPU9aYtLXbadkvrPnCQ8NsNQkSs7BOPKspf0qwA+8FllwvN7CWOrBIBI+jxaIS53B/TJdEO6+5TJvnj1/vNA== 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=ujyCFPphsGIkul1NsJ+DiosZCnKQxe9/tKjWHaOjn44=; b=LdaZqRM6m3sjxg1u2dhtv+5AvRIlrZrv8kJUMBQnfU3BNw2JMnpSewEQqt4FsyeQ511OHqBLnhHPyur35n8ecxfev6sYn/ghdtMqgZwkY7mFChOhcP5Za++hKbFMw6AXH6/l9bqsxyvmMRIC3eFCxRbWZbfFe6hz2UJum7s2i5E= Received: from MN2PR11MB3807.namprd11.prod.outlook.com (2603:10b6:208:f0::24) by MN2PR11MB3616.namprd11.prod.outlook.com (2603:10b6:208:ed::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3611.20; Fri, 27 Nov 2020 01:17:49 +0000 Received: from MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::4dc9:358a:cd2e:45d6]) by MN2PR11MB3807.namprd11.prod.outlook.com ([fe80::4dc9:358a:cd2e:45d6%6]) with mapi id 15.20.3589.029; Fri, 27 Nov 2020 01:17:49 +0000 From: "Xing, Beilei" To: Xiaoyu Min , "Wu, Jingjing" CC: "dev@dpdk.org" , Xiaoyu Min Thread-Topic: [PATCH 4/5] net/iavf: fix protocol size for virtchnl copy Thread-Index: AQHWu+3qnVhtEviXm0m/rZJ6TUmpEqnbPk9w Date: Fri, 27 Nov 2020 01:17:48 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: mellanox.com; dkim=none (message not signed) header.d=none;mellanox.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.55.46.39] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 556b8570-77b5-4d10-ffb0-08d892724146 x-ms-traffictypediagnostic: MN2PR11MB3616: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: QcsSUQELBJ2XTzoIXn7SrCcSVEnNFkrT1YeiuaqJ6CRlOwKfTqZMWAC1GqvhpxL6qFrUxfwxk8Y4B/PmZTj6F+V4WwhS8VRjvUKYQxIOFoOxH3FKe4QBXo3decN4CNbILkRm6qQyYBhzp7pRrDpTGmWMVcmf3qwDJEkmjB+MxR00YJKGeTVnrwnQeUzbvLPdvgwGJGU2MxXtouOOo/kMzqNlAwd9IOqlvQx8kJBzpAnJthMflq/b/ui9zgrdO1gZQjC9DvuWwAnNqO5URR0uzPAuzCCOdAKxc/MWgqbKq8blYvCm4/cU+QLrz743/zaC x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3807.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(376002)(366004)(346002)(396003)(136003)(39860400002)(52536014)(478600001)(9686003)(4744005)(6636002)(316002)(8936002)(8676002)(55016002)(53546011)(6506007)(76116006)(4326008)(66446008)(110136005)(7696005)(66946007)(5660300002)(86362001)(33656002)(26005)(71200400001)(66476007)(66556008)(64756008)(2906002)(186003)(83380400001)(54906003); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?wQcygrQVUdLunjzwbRPYXrcPxDuy8k8XXQjHKYkZ26Dfk+kVQYXMJfg8ur4r?= =?us-ascii?Q?P2wrxbnAobr606j+S0eqFiGjBhO+UqhOcKp5VJwmS5DBRjPWdYfvqEPyN84g?= =?us-ascii?Q?V9WzXqG544+SqCsaXZK0VUWnSFCSM5iCpy9Xcddq3oB4xsRSTi6q+F0nCz0y?= =?us-ascii?Q?TdHxYi8AgrVGI2NCW23Zdqq+ES+1c2Qa5BiaTUdB9QIXNuz1dWKvCsEARK8y?= =?us-ascii?Q?U09OBCV2426gjbV+E+OlRYKCKpHKsg6Veej7UjYivS1wthdURHpxvU3mD8Kh?= =?us-ascii?Q?yiDc3b1dDqHoe58Kfs6omVHywE6Ykj1gI777Dw6r4RKYLBDK6vWgKZT2J92c?= =?us-ascii?Q?FxSqUYNb0IubdRRMyAo2MMMM17u7BcXTggdF2dGar5OOwXsqLMGv+a+DZIov?= =?us-ascii?Q?LMwGxl4SV6W7NJWPSNk0xY4rtUzIj9aFe0//AmWLHEGgcWxedw8XpdZBQlYo?= =?us-ascii?Q?k8pjekTZB61q/fSki8cjlpa+fEbTC94BiQqekh29DMaHv3zQsh6eTQdurMLO?= =?us-ascii?Q?Qob94ZRzsGb5Wt8braXLclQngVWmOY07HGFQPeP4AHh/75icZubvVQPhwFLC?= =?us-ascii?Q?LZczJHSau5uwpHGKaSy3hbhTFLeNUaKPY8Yge8xlILNz7BlL5qeyDmkUqV3E?= =?us-ascii?Q?I27NQQZOKj/6pehocrEenFnCtjcpt7SQ6hvJ8khTFGxSlJTkdfBUhGurD+ga?= =?us-ascii?Q?kFh71cyARLm/3gy7YNHn83xG1TDj5wtAjdq//K5bdUZCTxDMPSKF0Do+Aj/a?= =?us-ascii?Q?lwgn6nShbfLreNVvROkPhtptpccPzT4KQyrP8qMw7HkVocHRV0o7MS9tQD8x?= =?us-ascii?Q?qSl/KaZ1AkXGzczMiSLfQYa4NxzZQ4MdYp1TKTA3mr6Mbea/amq2RHqdncUO?= =?us-ascii?Q?MJwalZM5KzU8en+fk7BXpSw7L0uZVt8/1FOFp5bc9KwNUeckzD2KBEfwGHYz?= =?us-ascii?Q?Gswb7JV53HncBB6kxECjuIWBntOe1KayWf6IRqFNyIM=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: MN2PR11MB3807.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 556b8570-77b5-4d10-ffb0-08d892724146 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Nov 2020 01:17:49.0645 (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: B/X9RSEqYTOQ+nrOsKh9/ocrcZWJyI9dMti0wQvz7R5r2qyQc3gefb3hFGhH33zb5GMGG4ZMAXqRdp7mNtbdkA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3616 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 4/5] net/iavf: fix protocol size for virtchnl copy 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: Xiaoyu Min > Sent: Monday, November 16, 2020 3:55 PM > To: Wu, Jingjing ; Xing, Beilei > Cc: dev@dpdk.org; Xiaoyu Min > Subject: [PATCH 4/5] net/iavf: fix protocol size for virtchnl copy >=20 > From: Xiaoyu Min >=20 > The rte_flow_item_vlan items are refined. > The structs do not exactly represent the packet bits captured on the wire > anymore so should only copy real header instead of the whole struct. >=20 > Replace the rte_flow_item_* with the existing corresponding rte_*_hdr. >=20 > Fixes: 09315fc83861 ("ethdev: add VLAN attributes to ethernet and VLAN > items") >=20 > Signed-off-by: Xiaoyu Min Acked-by: Beilei Xing