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 2FD19A0350; Sun, 28 Jun 2020 08:51:25 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DC9E31C13A; Sun, 28 Jun 2020 08:51:23 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 669F21C11A; Sun, 28 Jun 2020 08:51:20 +0200 (CEST) IronPort-SDR: gst/vyyE2+DssFZWejwBokyN2tYCJu3tJ89WWyDU73YXVkTQSCrHntvhdwxl0lJ6e7HkmnStYv JP/LXltwYy0Q== X-IronPort-AV: E=McAfee;i="6000,8403,9665"; a="125932421" X-IronPort-AV: E=Sophos;i="5.75,290,1589266800"; d="scan'208";a="125932421" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Jun 2020 23:51:19 -0700 IronPort-SDR: jSnKlBLRrBGj8lEio4BzgY/YBGJVQki3LqmHENlCPeZce8vsmPQCwV2j2n6jF3qEfrJpcC2SDK sXFnKosVSJhw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,290,1589266800"; d="scan'208";a="424493628" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 27 Jun 2020 23:51:19 -0700 Received: from fmsmsx122.amr.corp.intel.com (10.18.125.37) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 27 Jun 2020 23:51:14 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx122.amr.corp.intel.com (10.18.125.37) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 27 Jun 2020 23:51:13 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.107) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Sat, 27 Jun 2020 23:51:13 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GTadMrW7M0z0cJ4AfgBaqIQP4KwMMlFdRUn9BXATCgkZ+uL0auLPmFHC0nMN16iwERSeQoMVu0JoCemKXvP11J9BRycDQl7hjIy0md7J12KI9kDxiTQvaPWt/9nf/P6gV3lBAn/oLwIxJC9i67fCfjQJbHePiM146YvyzJE5qsHlG7AFI9GLgVG7dWfhSRuSc0Kx2hjblFcLD8GpkqZJFz/ZXX+oQdPl2lfY8ZKMBrxd0LjXhzclt/9QvoLYAO0yCIWFFmLKCAtFM4FJt5IdPGsoTet/Nk5kocvcrBTYIMmyrAXeteGzEtK2/HpShD4/+SArCTFnrv4WY0zZgOBZHQ== 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=B63jWizh8hbQGjXqcLkW+fxV4lotOYQW1Q5p6STcCZQ=; b=k/yJXCND5XCg115QvAyS2BpE9oIcbVuIU5oPvnUN1CQelvSYtfaRixcJixJeVIXeQXPmFFZ0X/gNe/M4/yOT8aFsbsER8tud1QCjSyFESm/EjyadsU7LkiehWwnvtTdmaBSY8v1w9hS2egx5ZpjVnwmigy2U/lexN0tHU9GsnPnVg/GX33iTT+omxB+ehSsYcqR9Phzx5ZNxERQ42ZM7+knNy8efPsQ5K6TSS3JydgwZDNpH1OMrcCAJJ7CS7Kpkh6wb6gYCEax7QHal3O1inacgGGiedUMTCMBACAMqmTM1QDi628WaY+Fj9C1ZwBeZwYpeEgm74Etn0CNyGrKBew== 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=B63jWizh8hbQGjXqcLkW+fxV4lotOYQW1Q5p6STcCZQ=; b=i4pAqB1qyUlyKWsfpWeQCvkRAy4PJwZtXzOXt2TEVVm5JZGgqidUBsLYcToNJd7FMcs5bkMsS/RGwYuWcvZB/k2r9lnDYNe0twYskpwpxG8a/UgWZpSA+pirVKIrLJlXpqwBCubTG9FPPexE8Vb99H1sUiEiPl0ZzrQIXgb4Nlo= Received: from BYAPR11MB3477.namprd11.prod.outlook.com (2603:10b6:a03:7c::28) by BYAPR11MB3302.namprd11.prod.outlook.com (2603:10b6:a03:7b::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3131.25; Sun, 28 Jun 2020 06:51:10 +0000 Received: from BYAPR11MB3477.namprd11.prod.outlook.com ([fe80::11b9:abd9:39e0:f26a]) by BYAPR11MB3477.namprd11.prod.outlook.com ([fe80::11b9:abd9:39e0:f26a%3]) with mapi id 15.20.3131.026; Sun, 28 Jun 2020 06:51:10 +0000 From: "Wang, ShougangX" To: "Zhao1, Wei" , "dev@dpdk.org" CC: "Xing, Beilei" , "Guo, Jia" , "stable@dpdk.org" Thread-Topic: [dpdk-dev] [PATCH v3] net/i40e: fix queue region issue in RSS flow Thread-Index: AQHWKNkbcuqC5KLX50KOxcj3/2STfajt0XOAgAALCMA= Date: Sun, 28 Jun 2020 06:51:10 +0000 Message-ID: References: <20200424085225.27655-1-shougangx.wang@intel.com> <20200513033320.15771-1-shougangx.wang@intel.com> In-Reply-To: Accept-Language: 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: e5c94402-a1d7-4785-c758-08d81b2fa426 x-ms-traffictypediagnostic: BYAPR11MB3302: 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:6430; x-forefront-prvs: 0448A97BF2 x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: sw2Cb97Q6zSyMoGglraj5L51a9rVH1w/+8GVuBz62rCgYjd/iROOmoNcflKP/YWqwYD7hEI+DrVJAKf9lSJRf118+GrDDqJfiZyMTOGa1LyVwAbGLcgZ9OmSUhT0DVFJQPAHauvW84d8BH+t6QEfDh8hH5Gu1GMOCGmloVgv2fw/rbOrJvwZMBkuvxsahbzwgQEfaUxwBJ5K59gUU4TAEaqMJLf00Lg49GbjKoAN0wAi/5UFoD6TQskgUdtRVAOrdnuo42AcxP3KVyA5fNfG4n2Ifsp2yLyoLCfamN347mhHyzKHjGKc6iY7s5dY+/2mnGhiC8Csfrug3jOTmNKd5A== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BYAPR11MB3477.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(396003)(366004)(346002)(376002)(136003)(39860400002)(71200400001)(5660300002)(2906002)(478600001)(83380400001)(8936002)(86362001)(8676002)(316002)(9686003)(55016002)(52536014)(186003)(26005)(54906003)(76116006)(6506007)(53546011)(110136005)(64756008)(66556008)(66446008)(66946007)(66476007)(7696005)(4326008)(450100002)(33656002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 9Qwj+kxWJBbsPvBFHXmoRxx9T3685MizOD+mILoneTBpl0enZXtUCqW3EpB1hKM+IAlQREZ/oE//qIDf/9FTJ/Ry+t0b9e0CWvTwulcsyPI8gT3UXUFE/JXDsIy1KhoESG0gX3wg1M9Crf6HcEg5g1jQtNK1qyr/c+LvzdC1HdmX8fADmioxB+1C7rnB+7giX5jFn/RhQxbwrCCL9fbSEYaIbRWcLjjNjZqeEZdNAv2FpZCu0eHjpSw6dkmZlVXUUZCSHNPl2zNdIjc7ktV1k2ZQqn1VIugELSsi8W6zqg9UsXb1dW9GGIh5LRc31hpyXZJfi6qL62Nx07/CD404xCsO5eEpUBxrljjgbmDJJxt4Whk3AGmm3AuwxZPNNNyHu3B9JqJmblW8mrYvMm4BIfBfP/tNm3v8y5gLpoRgqyxiHgSuYGTfBbm+ehubqtxUz5y6Alqyg9hZ2ArjBz+eHw6wQuDEenPTDgdEO+zPn1NSdZEV9pWkd2I7+4oVOTy9 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: BYAPR11MB3477.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: e5c94402-a1d7-4785-c758-08d81b2fa426 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Jun 2020 06:51:10.2703 (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: ZU7JoMBFzQzjrNu/3HpRugVTATL3wAq9IB4muEgi1XMJkD2t4QiHObH4rI8K4iMeJ2imahWKJ6RWJdJEkFefbWrtrejSFR6QOD6v/kfP28A= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3302 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3] net/i40e: fix queue region issue in RSS flow 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" Hi, Wei > -----Original Message----- > From: Zhao1, Wei > Sent: Sunday, June 28, 2020 2:02 PM > To: Wang, ShougangX ; dev@dpdk.org > Cc: Xing, Beilei ; Guo, Jia ; W= ang, > ShougangX ; stable@dpdk.org > Subject: RE: [dpdk-dev] [PATCH v3] net/i40e: fix queue region issue in RS= S > flow >=20 > Hi, shougang >=20 [snip] > > diff --git a/drivers/net/i40e/i40e_flow.c > > b/drivers/net/i40e/i40e_flow.c index 7e64ae53a..2f937567b 100644 > > --- a/drivers/net/i40e/i40e_flow.c > > +++ b/drivers/net/i40e/i40e_flow.c > > @@ -4625,6 +4625,34 @@ i40e_flow_parse_rss_action(struct rte_eth_dev > > *dev, > > uint32_t index =3D 0; > > uint64_t hf_bit =3D 1; > > > > + static const struct { > > + uint64_t rss_type; > > + enum i40e_filter_pctype pctype; > > + } pctype_match_table[] =3D { > > + {ETH_RSS_FRAG_IPV4, > > + I40E_FILTER_PCTYPE_FRAG_IPV4}, > > + {ETH_RSS_NONFRAG_IPV4_TCP, > > + I40E_FILTER_PCTYPE_NONF_IPV4_TCP}, > > + {ETH_RSS_NONFRAG_IPV4_UDP, > > + I40E_FILTER_PCTYPE_NONF_IPV4_UDP}, > > + {ETH_RSS_NONFRAG_IPV4_SCTP, > > + I40E_FILTER_PCTYPE_NONF_IPV4_SCTP}, > > + {ETH_RSS_NONFRAG_IPV4_OTHER, > > + I40E_FILTER_PCTYPE_NONF_IPV4_OTHER}, > > + {ETH_RSS_FRAG_IPV6, > > + I40E_FILTER_PCTYPE_FRAG_IPV6}, > > + {ETH_RSS_NONFRAG_IPV6_TCP, > > + I40E_FILTER_PCTYPE_NONF_IPV6_TCP}, > > + {ETH_RSS_NONFRAG_IPV6_UDP, > > + I40E_FILTER_PCTYPE_NONF_IPV6_UDP}, > > + {ETH_RSS_NONFRAG_IPV6_SCTP, > > + I40E_FILTER_PCTYPE_NONF_IPV6_SCTP}, > > + {ETH_RSS_NONFRAG_IPV6_OTHER, > > + I40E_FILTER_PCTYPE_NONF_IPV6_OTHER}, > > + {ETH_RSS_L2_PAYLOAD, > > + I40E_FILTER_PCTYPE_L2_PAYLOAD}, > > + }; > > + >=20 > For x772, the pctype for UDP is different, this table should be different= also. >=20 > if (hw->mac.type =3D=3D I40E_MAC_X722) > .............................. Thanks for your review, I will perfect this table. Thanks. Shougang