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 A2F73A04B2; Sat, 2 May 2020 04:36:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id BC1C31D991; Sat, 2 May 2020 04:36:36 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 6B2471D988 for ; Sat, 2 May 2020 04:36:35 +0200 (CEST) IronPort-SDR: mx3PkdxPOtHwxEoAVKXnpfW6t8t/jvLM6uZrEJm2yLLAKj6tcb+mbUTQxzJc4qpV98+IXZj+Dw 0cr6p7mm7Zvg== X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 May 2020 19:36:34 -0700 IronPort-SDR: eAwjBN4KRJVHlTZIRhVDVr9OZJPZ1lju6EbtjtY36sLMru1qDXkHJXalG5DbyCFRkwblHurk7s CLYECq/uiPmg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.73,342,1583222400"; d="scan'208";a="303688994" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by FMSMGA003.fm.intel.com with ESMTP; 01 May 2020 19:36:34 -0700 Received: from orsmsx151.amr.corp.intel.com (10.22.226.38) by ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 1 May 2020 19:36:33 -0700 Received: from ORSEDG002.ED.cps.intel.com (10.7.248.5) by ORSMSX151.amr.corp.intel.com (10.22.226.38) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 1 May 2020 19:36:33 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) by edgegateway.intel.com (134.134.137.101) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 1 May 2020 19:36:33 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=l+Plucw1q0e/m5AAGkJv+V+Tam+LEqawRT+cdEmEehriqwRnLZzZMcq8305vxY+5JM4u+9miJa3ELCWTi50N9Gg76fyLcWd/qDtiJ0QnQaHlI9iYPEVuhEFgbSuKD8AGSE0A8ToX5eibSQPhMXIL+tLWn0iMNfhErnN3cRaG08yAZmPMH0L+EONBtXiTNfvPEe3amsoUzWi93B7RrWadGmkn040dqugX0Qidf6WCAskrEYtrTfAxZ+cIL5YLTJr99YNFfE3kvzQsb8WInpmx/REkiN4oERFEbTYZRrL++jQ8ruZKGrpBmBkqxo7Lh8UHPxY3P4njRrhsl4NRpIGq2Q== 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=0Mciwb21XKtYVdB2z7G/ezw1fBRxMjnULMV4O3j+LX4=; b=JDqvoK70gHKiC56cHIJZyfBkqdAZFP7lHmCDcDp9akQZIBjtDIfNJHBsb/EgekUvjiKTNVnG8QfaXd+jhzO2QvN7fLfYWtUOmHFFxsrvgT9WJiaAKPbINBZsSYx4EV0s7A7MVYCuEWaMCcn+hUQpl3U3aQ7Y0NVWgybju2gE836HIdm1YIa0OscQ3W+NYSvXzb7v4klM+c/CGgpb0W/u++sJPHc/Ft/mSFU640NW9h/lp4YCooQPyF1qnwoiZpRoWtU60qh8R9cVyolJ+m2ENe77tQHVOeiAKvun5n+Jq7Xz6rINvj5nFMgLBxG7g3+lR/ACcD1tCc8TJXr2ryOZdw== 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=0Mciwb21XKtYVdB2z7G/ezw1fBRxMjnULMV4O3j+LX4=; b=d6btcudN5iuDMJli33m1m3L/ewq9LB3NajNruv0jEoxsVTjmC2mxp6LwWyqY2MnzCsLC2zQL5TrXF792IcYE38uuhN976c+Cyt4bsrEWmpHAb/ALNHaGy/u1iKsZDKmJCNWE8Mwdil5KouBx/AN6u5W2h8W7NzD5qEHJ1iFVJtw= Received: from SN6PR11MB2574.namprd11.prod.outlook.com (2603:10b6:805:59::14) by SN6PR11MB2911.namprd11.prod.outlook.com (2603:10b6:805:d2::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2958.20; Sat, 2 May 2020 02:36:32 +0000 Received: from SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::9d8b:e4d0:2229:c55a]) by SN6PR11MB2574.namprd11.prod.outlook.com ([fe80::9d8b:e4d0:2229:c55a%4]) with mapi id 15.20.2958.027; Sat, 2 May 2020 02:36:32 +0000 From: "Eads, Gage" To: Stephen Hemminger , "dev@dpdk.org" CC: Olivier Matz Thread-Topic: [PATCH v3 3/4] stack: check flags on creation Thread-Index: AQHWHOn9rVgSIJaypES+r5L0IsbM56iUGrJw Date: Sat, 2 May 2020 02:36:32 +0000 Message-ID: References: <20200212230810.2837-1-stephen@networkplumber.org> <20200427231625.10135-1-stephen@networkplumber.org> <20200427231625.10135-4-stephen@networkplumber.org> In-Reply-To: <20200427231625.10135-4-stephen@networkplumber.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.2.0.6 dlp-product: dlpe-windows dlp-reaction: no-action 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: [192.55.52.206] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 68382011-2326-4572-44dc-08d7ee41a083 x-ms-traffictypediagnostic: SN6PR11MB2911: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:3968; x-forefront-prvs: 039178EF4A x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 3FKMY/x4q5zMs4XNjVSzo7XDhaNKgRdzjbQGQKiRztw0HY1bbliWaQE+I8ILb7Qw8iK5MRP1yEkfyTjKx9fKzgeqrpZMPBH5/TcJQaNIHk/deeVX+72dDSn9H0OURMVn6p0g8x3lhkzaoA3uDDylmWlowJdeuUWYNVyJ2hHXmvZCKx+2VCWJD5sRk30YYlIMRRKxrn0eEUNtt808bB3zgaPoNChMBi7h6V8zA5hqdTu0HBwtnB/cTYk7VX1UYg1MvJeSkbhnJRx69PLVohjzNqADiqhep8yhqXBTcYKJ5EFwb39vuz/0rFwRCeWMGaDeY4GY53v+uVEKeQmVOLhnItSy2KfaMsYy1GJvlFLzLVjekl6taeHcvNEBY6h9OwzDKTMJOkS8C9aGA4s+lGvj6mg4Vszw7paM6jOrHzbqjYSy0D3+Dt0Uwa0UtcIIU+Hn x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB2574.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(136003)(376002)(346002)(39860400002)(396003)(366004)(8676002)(76116006)(33656002)(478600001)(86362001)(8936002)(66946007)(66476007)(66556008)(66446008)(7696005)(64756008)(4326008)(55016002)(5660300002)(9686003)(2906002)(6506007)(53546011)(71200400001)(4744005)(26005)(316002)(110136005)(186003)(52536014); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: 0LejYX0W96s17BRpswnEy+gRgC4l1TvlBZj/VRfEX8bPPSQlqO5vDXZGXOrvxvf6EdZermnifPhKMMM4jzuNdM8BFyG2W5gM0/oG4Jj7Mau3LxyAAnAkJnQchq6ikOJEl/7fbuuiIKGKg/0wIcPeRjbzuVg5xc+jlqSRY73bgG7qJg5V4mJXvtdpH0xSjzcHQ1fQnixMmqHaFBlnAMF8IT20ASWuTZYshthMpZHpbgxszpUPt89MZEGXjxIJEq5jZsi/mpX5H6k1ItyggidA87QEiJZCL9OKkHCPCCzZ51iXuyoXO6CJZ9fuj+FO5UR2am0guoiCPjTIxQ6x4lkp3aCcyceMeek7uqqAEXz5r9O7noaIwHc6b0EGBmsu2mpUNzbb6lJuRM960MXNFrymxRF4ZKW8osyYdlGZ5bt+DAb3uPzmwmhEf0E3BCWt0mmGaZS3UQb+oVj3YzUhdw6XY/aIaYBiZv+bAu5+6BI8uHzbCgLR6y9efkR1X8poO4IMzDWJlmeMM0yS2hOdAzHyJTKHfAtuXXmRmWPne19RkN+bEAc0+fITNArOyCmjrgnWSE9yXjcoK612ntHZXWiBbtmgK/8ai1z5ESyyR68qP3u9PAvsoNEgChVOnhVLm4jMmZw3SR0wAwS2aAHyfvurOV07Sp7hjJmJeHNxf84o03yuuNDuyamHqzH2Zcu/NF3sQxJMGwpw9oCa/mTmn73SKP+wljShGsyJeEcok6IShPxStkvM7wP3FwdE/ozqtuGrIEZmUxEJuLbgjkC4ZQrc3OJ2JFRmwwLEmAYHB/XbwfM= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 68382011-2326-4572-44dc-08d7ee41a083 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 May 2020 02:36:32.8307 (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: FzopRNTU7nuiMkWy5lp1XAGXI37C13Jrcr3oWAK2Jd/AFKc5+wqs350T2KgkB+PH28T+adL6LAgzduQ09a6l+A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2911 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 3/4] stack: 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 6:16 PM > To: dev@dpdk.org > Cc: Stephen Hemminger ; Eads, Gage > ; Olivier Matz > Subject: [PATCH v3 3/4] stack: 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: Gage Eads