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 573ABA00BE; Wed, 29 Apr 2020 03:08:58 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2FCCE1D6E1; Wed, 29 Apr 2020 03:08:58 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id 893891D6C4 for ; Wed, 29 Apr 2020 03:08:56 +0200 (CEST) IronPort-SDR: 8FodHG8I4ONRWYIbNQzBzYd6lT+ZjXhdYTEIA/r22y5RFgnbEKWl6+mmpCxFJe0DEQTwniO9ws bib7ULZaqQlg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2020 18:08:55 -0700 IronPort-SDR: CjD17HJCZNerVqNSKqdIP69+jaIy1paRTrOAATHFabrivWS5CwBOkQcPBrA5meXPIKwp5wEJQE x0Zy5/nt46pQ== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,329,1583222400"; d="scan'208";a="404877996" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by orsmga004.jf.intel.com with ESMTP; 28 Apr 2020 18:08:55 -0700 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 28 Apr 2020 18:08:54 -0700 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 28 Apr 2020 18:08:54 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.174) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Tue, 28 Apr 2020 18:08:54 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=oN0CPKSVIVBn2iDEwvdT8TW677ouCGXOXu7yCWIbZrosutZDsLlLALa3nNVfEwYfFJjQ07p7WXDJucoqImEuu4h3DTF0t6pUTcNDxf6gIG14mFIIpwSIMTI462hBwLn3xxE7LWENyIdYb/flEGH882tfusr6JEWJTz2Wxg6pQFu7mk44cOdWrVNM9UDFi71cAkVJSsz4MNin9hAZCDiKn6eko0Ru9YZpsUZQZp9ShXFHRusoah8ImiYaV6i4k3IIU5wv5KptahlHdQM36zVXbrRQzNFP5u3vHUzMJl0BdH2bZYv+k6zYJ+kMJIsGP9jRs8Qvvswa2EYa8VbdT6yxVw== 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=wftjuTD3rKXi8UuhxSQ0ybvDsYQjK2cTrFPLuDQIxdw=; b=iiJragjnZC/cQUCVmV+nchMNul29nuirUmXcTdrjI9kkJ+6QLSIsaR3Y+jx8a79xbYgsy0/odKnePYbGsYwErUoOev4MCLj7pdeTeF8Yb3GsMoCzD8iEgUdDu+FCkBCNjxOAe3pH7w33ROzetzoF/Z8TpS9mJL28PIg7NT0bT/BnRUOykiAUC5+aF+d8ciZ65EB2bvZa5JONkfjCJDHpnipWGcfNGrmes88XhRhwPlejmM61aSjh+lD2OaJqNRfgPqNmLQ3GNoRoEn6VsTQwGmbYjUiHNLnBievivIFnfvGoDJ4JNdcQd7DHtbPNCtQ0rbnGIpW06PiBE6aYz5hSBA== 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=wftjuTD3rKXi8UuhxSQ0ybvDsYQjK2cTrFPLuDQIxdw=; b=SrhpuSockm3GakR+a54QxC5PfZKTqIOoVO62FHLqPDzE4dDc2W5R4+AxPeVHDLwrzTG2FML9na443Sj1Ahsol3TQDZvQ8mwqgQNDVN1h3KnN7I3BzyjMqM2Bo7dVcvE5/0GHsH0hHA3Fm7romJo51ZGx03uXm9ufWUhdwvu+ZtA= Received: from BY5PR11MB4166.namprd11.prod.outlook.com (2603:10b6:a03:191::25) by BY5PR11MB4183.namprd11.prod.outlook.com (2603:10b6:a03:18e::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2937.22; Wed, 29 Apr 2020 01:08:52 +0000 Received: from BY5PR11MB4166.namprd11.prod.outlook.com ([fe80::3c71:61e5:1aeb:ac91]) by BY5PR11MB4166.namprd11.prod.outlook.com ([fe80::3c71:61e5:1aeb:ac91%7]) with mapi id 15.20.2937.023; Wed, 29 Apr 2020 01:08:52 +0000 From: "Wang, Yipeng1" To: Stephen Hemminger , "dev@dpdk.org" CC: "Gobriel, Sameh" , "Richardson, Bruce" Thread-Topic: [PATCH v3 2/4] hash: check flags on creation Thread-Index: AQHWHOoCiGeqM+mn50atkGHoMIlwgqiPSzsw Date: Wed, 29 Apr 2020 01:08:52 +0000 Message-ID: References: <20200212230810.2837-1-stephen@networkplumber.org> <20200427231625.10135-1-stephen@networkplumber.org> <20200427231625.10135-3-stephen@networkplumber.org> In-Reply-To: <20200427231625.10135-3-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-reaction: no-action dlp-version: 11.2.0.6 dlp-product: dlpe-windows authentication-results: networkplumber.org; dkim=none (message not signed) header.d=none;networkplumber.org; dmarc=none action=none header.from=intel.com; x-originating-ip: [134.134.136.204] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 33a9627f-de95-48b4-c455-08d7ebd9e1b4 x-ms-traffictypediagnostic: BY5PR11MB4183: 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:3968; x-forefront-prvs: 03883BD916 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BY5PR11MB4166.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(346002)(366004)(376002)(39850400004)(396003)(136003)(26005)(33656002)(9686003)(52536014)(110136005)(55016002)(66446008)(66556008)(66946007)(53546011)(2906002)(5660300002)(76116006)(64756008)(66476007)(54906003)(86362001)(4326008)(6506007)(4744005)(71200400001)(107886003)(7696005)(8936002)(186003)(316002)(8676002)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: OU9cqY3otRegqbILRHkPftdtP4r9oemaTikkR7iGTMJLIgRlv3+5or0P53eJGaM+v7XaK0ce02Fn6Sba0TlecksvILM+TlVOSwS2v6fWmcgvJo0XJvbzZEf69GTYP+TStRFtqqOliluzHirsV7WbHSyYseIACfne9z5q6/WaosMQyZDCmzpEWuN8pfBkd4sJQRSUB/NkofcYSQ6e1/iqMuettoMI9wIzWJt+WCoaGwIXlrvkpUFZz0PNOhV7J2VLiBeGArzE8y6T3LzDg3NvKh5gbjMOH7DwLqC3cStachULZ9sGwUnqb/fIEDyxx5JrtlKGS8Vk2umsvg53VJurfq0Tr+xj8jFe8tPJvwkjkcX+JNArG8ab39W4Rh9KtBtFXcUH4B6HYYH3XM2urjEM3PHWi5rNnX51cvDuZwU87Lx+AKtdqh1gFZT45lgrWM0H x-ms-exchange-antispam-messagedata: brnBYArBFNOg7rZQMv/KK/VLyJQNQRBw2DzDt6g9fLW36XHSH1gxu5wWmEe3r49vgf/WiA0Oqy4OouS7vNUnzBFul//gt8FrbyfpTqmqDmIrhD6F6tBePD0VRl0rgZYFDBRItsl4OINJXQenwPoBxgFg3t3lJgiOZf7fQ85nEnu9yC0VAqTmw80GfGovEYhAnL35/aqhAOGuRFtdopb6e54+/rstuu0VSvTwqkMhFd5Iyj29RH2/zUYfdKUN96BCgD9y7pvTGB3CyQ5KpMndRi8b9JGPp5fys0bt8EqvIOu8jQVp6IjEa85guqg0Spv2MK5SzABJjVSnJuQt5wuk1O9vhE4lFlfmsA77xavc9SgABvDuAgl6AQZZ+iiT29rWYTVrOX1AYJUCuYH5FR+sICAy5TSG8nFq0EzCUoZfptjb48iDx+y8k5W9SLNpQChyYG4WxSlnqgMbS4ZcimxOlv/VunLBzRxzNbhPjnqAT/TDWN3Od9J0uClQ5k+as0hwG+aBLSYMikb2klYSa9+jKfwAiHBPxsMyjUreoz81+FmAG8mdEjRyy0ImWzdj0GYgylE8ARTxiuYLPCBvs4zR+mQfF8wv5WjJl+q2CRoys3o+L0Layf16DPflfv4JSTqvGtBwCc+3FpqINNe2quNpdIyvP+ieze0HtmhkJ2jjvw0q/izU/B1yGAkEn3Hm3hCaTduzxtqjHMMdMf1YAUnoe9ct5zi6q7kutqr8UrcHneRzRvwQOHUt2m3OXN6a3NNx5ZP0kV2xCqb6vzUyy/sqwGG+xVgJ0KBbMu+bJ9Vy2aZIWViUaSns22P77yukTopD Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 33a9627f-de95-48b4-c455-08d7ebd9e1b4 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2020 01:08:52.1326 (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: zmkSzgDTrEDtovYWsoNQxKNxcYq4xMgwblqMfZ4niGODAPgMzMB/EiY6NEqfj8XoApxNAcV8VGeOdoFdLMPg7g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR11MB4183 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 2/4] hash: check flags on creation 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: Stephen Hemminger > Sent: Monday, April 27, 2020 4:16 PM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Wang, Yipeng1 > ; Gobriel, Sameh ; > Richardson, Bruce > Subject: [PATCH v3 2/4] hash: check flags on creation >=20 > All API's should check that they support the flag values passed. If an ap= plication > passes an invalid flag it could cause problems in later ABI. >=20 > Signed-off-by: Stephen Hemminger > --- Acked-by: Yipeng Wang