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 6D155A0526; Wed, 15 Jul 2020 11:07:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 212D31BF97; Wed, 15 Jul 2020 11:07:40 +0200 (CEST) Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 5BDB91B1D5; Wed, 15 Jul 2020 11:07:38 +0200 (CEST) IronPort-SDR: JLTXyboV6kAsC7It41TLQD2VVqRezdWfIVj2dGopXcQ3oxMYpZlKN376A8PwqasUjS0X6Q/CL8 g3NAr5ZNsGog== X-IronPort-AV: E=McAfee;i="6000,8403,9682"; a="167228084" X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="167228084" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jul 2020 02:07:37 -0700 IronPort-SDR: VbCmevrS3+OBMYt2VJ8TZvl2NiaR8A5FJD+F2hZqAnLZP8qSjDchBJdFk2n8IRwDbsQjzpXh+G m9nz4TMCVgBQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,354,1589266800"; d="scan'208";a="286045162" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by orsmga006.jf.intel.com with ESMTP; 15 Jul 2020 02:07:36 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) 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; Wed, 15 Jul 2020 02:07:36 -0700 Received: from FMSEDG002.ED.cps.intel.com (10.1.192.134) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1713.5 via Frontend Transport; Wed, 15 Jul 2020 02:07:36 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.104) by edgegateway.intel.com (192.55.55.69) with Microsoft SMTP Server (TLS) id 14.3.439.0; Wed, 15 Jul 2020 02:07:35 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=UVffuZLtmsx+ZNpyn3E8/fDYO0ZYhxCfM8mLDjJUSanbIP6K3KlTdaZwlEWe8dj2Cj5VN8YWR1711qUQ7KSOvHrChhF6r08tKIzQ6TO8IqX/Qrebe/TJ2gQc16225ycOFITJRGFhTVavxtCskv0IFi12RBX21udsBlz00Z6decJ0UbY3FYUcEKwVGOo1nUa3vBn34VCXQhDO4Dx8rzmMAIyCTTKJPILHBnjMqYXPtz/yf2mAQ802Ka8s8H6LEVmchDW1kTWoktvmXpLg0fASmSOR41/p27HIGlR45mk+dp7Qnnqb0I+4jsycSHDh9ipSLzfhVRhRjaUCm/2yoRKtew== 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=cll8YxfniXinT8+5NYHLrgtP94FuXZKDSm2yPfWJspg=; b=PnhaLAL/HTNoyH1ts1x2PM68Db73JFrIXFDN0zShFYj2dmFTIGz+F+GhNup5Qis8VOGezH0ShggkxfD+Bk/8X9Unn4WRuSjf99StGAO6/XY0Pgj3sQa2o2GVt7845gAlXSqRil3G87QGrYi8a/VXvPCfdxe9NINque4lK/8CXETOd7LNttxhE+aqh7/hcpZU+OQr4KdXP2htA7rx8e5JU81/vZkIgHtu6+aKdzaEIlwgvFum5vIN6y6BA2zC1coNBmAkNqp2/81cQlFOKL0kopve787+FxZ69oyFK5Mdx/WU/PFbxoy99eS2DcHoY7QEp5fVLRQwHXMrLVctu06ZXA== 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=cll8YxfniXinT8+5NYHLrgtP94FuXZKDSm2yPfWJspg=; b=U4f1OzscWNMepTYHJY46W5Uu7/aLDIaycowB/cSy74PbE+wGnK6QGd3aCTiJmwzSiUvSAQNQG0BqoH9WCyRRjTjOysTYZnI+AD05bPSAtKxJJogduf3WX+PAVasTAuVzdeZwcRcZGkju2i20ErwrS1KAibbtbUhaRC7igU+SPTI= Received: from BN6PR11MB1667.namprd11.prod.outlook.com (2603:10b6:405:e::12) by BN6PR11MB0035.namprd11.prod.outlook.com (2603:10b6:405:62::36) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3174.24; Wed, 15 Jul 2020 09:07:32 +0000 Received: from BN6PR11MB1667.namprd11.prod.outlook.com ([fe80::2949:27ee:578f:1a83]) by BN6PR11MB1667.namprd11.prod.outlook.com ([fe80::2949:27ee:578f:1a83%3]) with mapi id 15.20.3174.026; Wed, 15 Jul 2020 09:07:32 +0000 From: "Chen, BoX C" To: "Wang, ShougangX" , "dev@dpdk.org" CC: "Xing, Beilei" , "Guo, Jia" , "Wang, ShougangX" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH] net/i40e: fix incorrect hash look up table Thread-Index: AQHWWnQIftHcoWmTiEC6lqzsClHysKkIWbGw Date: Wed, 15 Jul 2020 09:07:32 +0000 Message-ID: References: <20200715063515.9262-1-shougangx.wang@intel.com> In-Reply-To: <20200715063515.9262-1-shougangx.wang@intel.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: intel.com; dkim=none (message not signed) header.d=none;intel.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [192.102.204.37] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b92a998a-1ab2-4629-1023-08d8289e8213 x-ms-traffictypediagnostic: BN6PR11MB0035: 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:7691; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: EgffJZxcCHL0g4ZZESwkql7tIPG5kkkem05bwc9s2cd2ejEzK9u10qmymi2Y9bcX92sDnj9b53BV2UcuZW0Ew77MxIEhtHsXfX6fIqk2CkYOdwPs2j/unZhEnOaQbqLlqyqscauBKz6eyS4Io0KKXeSpe4GaznKpcy3tl8iz0NsZqyXEJ5yBkO5BYDsTnMVrj68AgiCfh9hS6wwAAngGAFYCF4Y3docPItauUNFMfeKJoFIKTWOsSTI5yhbJ1Hfa3TOKGI4HMQrSisaYIjGLa65w6XkuwDK50hlAiYB72M1g/Fxg14aA7UMfWYtkpY3E x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB1667.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(376002)(346002)(366004)(136003)(39860400002)(66556008)(76116006)(83380400001)(2906002)(5660300002)(86362001)(316002)(9686003)(33656002)(54906003)(8676002)(55016002)(52536014)(8936002)(110136005)(186003)(4326008)(71200400001)(64756008)(53546011)(66446008)(66946007)(6506007)(478600001)(7696005)(26005)(66476007)(450100002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: qSF/5WViVnY3uurCcy8YYUxnq6SqNcLyxgdbRpRaYeoGAc13MiXkhqCeRDJoFO3ihBntzK+y/otdl+ATTNsapvhGFeLF1GeXo5Mz0jcgdwNxUxIE18QiJiZoPRLW3/9cZB++NaOVuW+CZRYJFCoqcl2cMXg49/jmvSKee9AjxXzxo4iSlgR81XPBb1PFj5yOB78zj0M9q6nbNEPlVoW93kPtDmQ0eM/Pcl1o2lOiCYwlc6ICZ196Or6NsmbI65R1W/TYSKG96WA0Zeo6v1gvkzj7lUVj4Klzdz1k+/tqcZ6n56H7FvN2A0+LqfLj5pyba0hHiwp5tZ3855CXyXJ+JaHeZ7aYCb26xyUOjwmM7n5xtzzkVh7vDR92O2ThZulAOZQe58Cw1eeHwDvfffCEGYG90QGC1sgY3xE4vy8hXQo0N2aCRVbGcWwKgcAW85mDeyA/6xIQ03/dWcCIFFb9MQgkqqIsmy+KoGGLxbyh29Z3hn7XMSi51j1HHCCiz38E Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB1667.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: b92a998a-1ab2-4629-1023-08d8289e8213 X-MS-Exchange-CrossTenant-originalarrivaltime: 15 Jul 2020 09:07:32.3876 (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: qTaU0HloQuuc18qeN+asf36iytZ+XQz7Covwqqki5CE2BFb9rIo90f6Lxuzbw+zPTcRnjjZJAJ5KkxJ5w63Xaw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB0035 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH] net/i40e: fix incorrect hash look up table X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: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