From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 8FADBA00BE; Thu, 17 Feb 2022 12:57:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 618EB41159; Thu, 17 Feb 2022 12:57:57 +0100 (CET) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id B9C2941158 for ; Thu, 17 Feb 2022 12:57:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645099075; x=1676635075; h=message-id:date:subject:from:to:cc:references: in-reply-to:content-transfer-encoding:mime-version; bh=Uz1d2E+ERADAHQRXSpZkdWdZ/9hvcF81sGPkhH/MDGI=; b=KllQwIjfhnAfZv4a46p/1833rsVgRuEEWgVtKfRAez6bdm3H5cO0UtoW v7Lg6o5MV5NUa0r09J7QpB4Sfr0+1hnT8Xxl5XZMNZdy4Z4Gnjx3I9CiA FN/emzvCsiliYtRRkUgF/StethgYz1xWmF/1jIrj2i9TktMacfWsDFbMb oJoDd+XR2LZMOTGjSz9mP2A5fARORhUMhhY0G/nz8x/o30ZNwMZrDaj7b 7YoPv/S3lI74uzAGHsHq43DGwz/3TvmusdAWFg2Tq1juID5jwcD0s6zlr Ft8RfF5+fqcFTjIsLvNiMcdnelq2CkDUvMvmOovXS7Ck5Od2rjapYq59U Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10260"; a="231481286" X-IronPort-AV: E=Sophos;i="5.88,375,1635231600"; d="scan'208";a="231481286" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Feb 2022 03:57:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,375,1635231600"; d="scan'208";a="545554484" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by orsmga008.jf.intel.com with ESMTP; 17 Feb 2022 03:57:53 -0800 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) 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.2308.20; Thu, 17 Feb 2022 03:57:53 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Thu, 17 Feb 2022 03:57:52 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Thu, 17 Feb 2022 03:57:52 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.43) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Thu, 17 Feb 2022 03:57:50 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Bp77g19fTmQz1tdk4tx8Ur6scKxERXRFAnGxc1oD+yKDF4pYZdDJaC1QH/yleazlS21/Kx5hwWIge95cOoCEj10xS45IBqm87IaDxqtjO9wlwQHR/g1TwScFnRgCmKOrJyfhhcKhehJUHoxgOpCXDLe8/48K8uxhXwK1f09KAmjmEJg5WWwB/kblUv0xfTVHHBO/JfqVF21mY7HkIAGikT46tSL0eHKVQyp0PLZvvjY/LzNnoPvKDc6QuJpfIiO23CarRkHcugmpc+WWVlaBS0Dj2TmsVFCh8h9wcGbK6xESVtzRAPv3mK4f09AIYf1Qi5TX/joxaialMhau202RZQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=PwR0P8fFONqStLWvAwX9rmyrQE+UC0XIU64jUG4oe/Q=; b=DYejBI1qO9FOe9NVviVzYDDmizfjL2+TXAdfH8RgcrDhTWFfQJdgzRzeSgXyjno0dFDDFzVV58svlXx7i45CpivdXUA6srFPWZe0xmhHAW2oEpQxUwTfqyGItAjMhAPOK4ZRSPOGkGBG80jNAcL38PK+F09zdhrUyqXljIIbZKjWHHxqDDZXNcSPVIiOmJCbt1Z70wNz6hFrZpWzD9of7WRmikYWuyrfoSyK4X8MVQLW7Im9eH3XzOkFhmSf/MTAUe4QILIIh+1AVNEsKFlZASiknPzcvORaTjBIplV0NZnZLzLX8ZAlZEV9tkyQO3j+eMIRV6Znbgbt0Dv/QZAJkw== 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 Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by CH0PR11MB5444.namprd11.prod.outlook.com (2603:10b6:610:d3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Thu, 17 Feb 2022 11:57:49 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::98be:5506:5020:28a2%4]) with mapi id 15.20.4995.017; Thu, 17 Feb 2022 11:57:49 +0000 Message-ID: Date: Thu, 17 Feb 2022 11:57:44 +0000 Subject: Re: [PATCH v2 1/2] net/bonding: add error hint for invalid args Content-Language: en-US From: Ferruh Yigit To: Wan Junjie , CC: Chas Williams , Min Hu References: <20220214081344.13637-1-wanjunjie@bytedance.com> <20220215105612.59970-1-wanjunjie@bytedance.com> <8cfdd12a-3d5a-6bd6-25fa-10dbe4b92949@intel.com> X-User: ferruhy In-Reply-To: <8cfdd12a-3d5a-6bd6-25fa-10dbe4b92949@intel.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P265CA0058.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:2af::8) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 59f61bd5-a610-4601-115d-08d9f20cb7e0 X-MS-TrafficTypeDiagnostic: CH0PR11MB5444:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:363; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 6lQNoaGLdWOBl1K2P11JQkk7DZZUAtN0hbSj2cP05/kCiDEqHOz1NSAWxdiiiYwtQF5xLLFwptsnOnsiTGXKhmiXhXYcSrD/1Z+GEIj8UBQPElUfDAYKnMEX9BB72vlovw2ny9QG3FirkBKrxUcv6CN1hoSPmE75zVcsw6uO/QT5tTF1EB0p8khBH59hmB73fMbb/dsdUv+FwAXl0MI4TBm4g739Wu4PjUmEPBy2cua2oZqIdFpCsoUbsv+9QUSATdg3aQBKQynO1TFASWCRj+O0OQ2VMKeSbDb2Haw7pwezWxbA4sjRAoFf3j15qR/yFKkOIFRUmCH2o6tOQ+KslJaGymMRihpR5D4YFEgU/vTZIkqpO22KE+ndWwzFjCKpnsaFGnBl/k02umBCt555f1ZUU1V+H8XJb3hN7pNRxQPQUiFGRJJ1HSbmBn9zO89AITEh6F8GW3ze8okP1OVzsplrbtmQzeR7kx/4KPyFD1cKmURBnLZvUHYz5uQkJ9ug2ILc3yYaYT9GDx6Uhb5UKZQSBVg8yRG7QcaRwlU+jDb414Ca8IGEZMgVeyuE0bnAYrEmGBDylofgsA3ki3HoEMQXxcjdwfjQlQzpCOqExa4mnaQVbdgR4mMEW7Hv8jBD97jgwxXX9UmPNiYKqu7pxB+dhFVo+el7gwuaxIa89vKP+uhVAv0HiVn9TXg7k5RaBjq++FWGG/+doOcDvlpFZQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(83380400001)(4744005)(31686004)(6506007)(316002)(186003)(5660300002)(53546011)(6486002)(66476007)(54906003)(508600001)(36756003)(38100700002)(82960400001)(66556008)(4326008)(66946007)(26005)(8676002)(44832011)(8936002)(31696002)(6666004)(86362001)(2906002)(2616005)(6512007)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Uk1Ca2xVSGh2a1Z1U1VDUTBMUmZnUW02WDcxdG1QMDRuZjNiUVFLV3pjcHRG?= =?utf-8?B?NGNMb0ZEOGMwUExqaHRMcnRCQmovaW5FQ2hGWE9OQlFjbnBoUVpVUUcxUE1C?= =?utf-8?B?dTZVZGNXUWtVVkFpZFI1eFZVQ0tSaExjbkJCZzlzSmRvQytRcTA0NlNYN0Y2?= =?utf-8?B?NXp4bm9SNlFqWjcrMXoxYkhiVi9wdzZ6d1JWQXhNR3NRRGpObm5kK0JKVFc5?= =?utf-8?B?b0hOZ0xXQXBqODV3c2VEa1JVbGl5VGZ5OVlyU3BhcnlHVElBUjhscHEyeDkw?= =?utf-8?B?S3RsZUh5QnlSQ3RwTGsyK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ZrdDM4ZTFBa0Vmd0Y0WVNsZ3JOdTZrekVUN1Fza05NTlU0d3UzZVk2?= =?utf-8?Q?0X9mZ9dx5Z7f1mikOUjuIX4=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 59f61bd5-a610-4601-115d-08d9f20cb7e0 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 11:57:49.1673 (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: WJh/Gqzy16ml0WFoUS1BTgS/ppT04C8cP3AhEfrgUrvnRtfhWdZ++z4JPEYXleHOaBQqzGk8/DLexP+N2uxaJA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CH0PR11MB5444 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 2/15/2022 11:56 AM, Ferruh Yigit wrote: > On 2/15/2022 10:56 AM, Wan Junjie wrote: >> When invalid args exist, application exits with no error hint. >> Adding a log message here will help users to know the reason. >> >> Signed-off-by: Wan Junjie > > Acked-by: Ferruh Yigit Series applied to dpdk-next-net/main, thanks.