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 B09A3A00C5; Tue, 15 Feb 2022 12:56:50 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 32ED1410F3; Tue, 15 Feb 2022 12:56:50 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by mails.dpdk.org (Postfix) with ESMTP id 5047D40E78 for ; Tue, 15 Feb 2022 12:56:48 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644926208; x=1676462208; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=v9X9t5IiIcGgwDAWlvyn0rP4f3ybTf6cfVd/bvI7298=; b=bx3oP+NcbU2UOPRZF/Xtjs4Ldi43OMKY8nWnuS58kFeaBfTZWZ6R9KFk lYdYyYeUsc9zsrAxJ/cbSFXs0qsC8+M4Er6CWHpglNiQQJvCNhaK0/qCx kohpdSaHwa+Yz/dyEbSBsEMuycYbYL0xPOccoGseUsCH3Kp8ZkpzvAfi1 IWTUj+6DW2YjlyVM6kY23JY+8wLgO0o4VmtjNkqlmRb1Cyw1++usGuJ5S kep8twQLFSh+5ru/lpPpgtcMBtxlHbIMwTSTB5e7WIPWb0yyKTctSqtl0 3jesCQr7vsH9/WLTth4G4rZy/AFbC/GzmlOwFmRcTJrehpW84xCCSvOIo A==; X-IronPort-AV: E=McAfee;i="6200,9189,10258"; a="311073185" X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="311073185" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Feb 2022 03:56:47 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,370,1635231600"; d="scan'208";a="486131819" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga003.jf.intel.com with ESMTP; 15 Feb 2022 03:56:46 -0800 Received: from fmsmsx608.amr.corp.intel.com (10.18.126.88) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 15 Feb 2022 03:56:46 -0800 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx608.amr.corp.intel.com (10.18.126.88) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 15 Feb 2022 03:56:46 -0800 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Tue, 15 Feb 2022 03:56:46 -0800 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.101) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 15 Feb 2022 03:56:45 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=d1qc6uduTxqPlYdaQajzb+L82LjXF5ycdp7Cc+a7jSuHWtAhbagP462Hprz/qq0HbUUj7Nx2vV3Bq4/xyC5Aou+RpnUW1TgADmtnz+L2xj/XnUArVzI3+PnPtHoFD1oPiF2QgkhGfZcd64Fy/XR/mA459wfWUsitcnwpK4ETI2iC/rM191WjcfDARclg7oB9S4OKCqY8gGdYuYvEeEHulTewzlfjD15C+eMjvnPeOA8m/MaM6jGkVdoD8xAGnRUU1QZslXOWgZyJ+tpPksCy99H//400IVyUuD+R+j7jdBvwCfhBm5jhOx8gIrAuq8a9nIss+XibpIyW0AG62+Mm0g== 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=/HNnj04EOY/j2IcBkLRVsG74sD+5N3GkLdq7sdpyTNY=; b=lmqFUG1ECjo3SkWeirzsx+rwhFiB5sbcYBgjv8flixyTfXWRBlM98NVznni/k5yQ2mGguri6LTfhhnmP1zp7G78YEx4gqgWBGdV5TVPuLqzIT4zCr1IVfHA3fOvNqerITGoIcWZRKS1GvtFNLerShumlIWJQChYVDnBfQSCCc4DbrmAJsJkYzrNbMUAQ5K5A3tYz9sLynmn2wZt0ZnDBgkPfLdzF7+7bR+6Zugm65edbC+uKUUlhTJgD7F12t8Cl+zbU66xHmJvtnEW5cav+gTKcq81Wkvdsrcd4Q4xN+Nsgm2kQmQTm3xb5PGWESXyMTHaxSkpiveEvjguO7IwI1Q== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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 MN2PR11MB3679.namprd11.prod.outlook.com (2603:10b6:208:f1::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.17; Tue, 15 Feb 2022 11:56:44 +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.4975.019; Tue, 15 Feb 2022 11:56:44 +0000 Message-ID: <8cfdd12a-3d5a-6bd6-25fa-10dbe4b92949@intel.com> Date: Tue, 15 Feb 2022 11:56:38 +0000 Subject: Re: [PATCH v2 1/2] net/bonding: add error hint for invalid args Content-Language: en-US To: Wan Junjie , CC: Chas Williams , Min Hu References: <20220214081344.13637-1-wanjunjie@bytedance.com> <20220215105612.59970-1-wanjunjie@bytedance.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <20220215105612.59970-1-wanjunjie@bytedance.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: LO4P123CA0203.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a5::10) 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: 054a78b3-389c-4837-d222-08d9f07a3c6b X-MS-TrafficTypeDiagnostic: MN2PR11MB3679:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:323; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fGQLnkWjfktjT46n1fyzZ+QhhR9Id0dgGV1JKPHVYWd8pE+npCUaBYyYJZec0b6SPW23DjUK5ej/mqoCG9NN3f+vXxvcsdtKgdx0ZbHRx1nqXkjDYQ/+hvohA5lKxlF1T4IiKTLBLhWmeWVqgkEoe/BDiPXiIImkea2VFn42mZSoTCkWv++EHgiwNsMRKuoXxoXe5fPl6IsUWt3AAyG2QANLAX7TO5TNaIJSuRdqnJGQ+bYO3UZDNdlgEMDXa4nSBxb+g6a1CrZieVl6sgSR5JhxrzFnp2SPLBFapjXEJo9GVvAoB6nw8YtdG8zMTlDhv13Y4bFN/Fttkzh6voE00VIpZOq4u9LINZPllr+nTPElw9PQJCz21Q7uhA8l21yMnru1BP7VsUGfdwKRpfgAb0A2q3jN2hIvEMZJBxoq5K2kd+bVXt0XpgugrsQXP1YFGDqt/JO4nFj83eotY4uYtVdVMb6jeN9xQCLKtEsVoY+0KPDrZ+sp3xZPgMm9N0nUqc1V1Hh4jiln63NmZGTaPAKgXGrwTnSduKUeBnLDzrIiPQbK/YN9KQ/iaqRntidMBjIXGZxUSlEc/5cXVR9lYz4S/cl5RoLQYF2F+qLo0vmQXHUWA3zd4Q/UgA93GmlEtZFu1zRYjKj3qqulpmKs+s4W/7Osn9RREBon9Ahz8c2EAif04Q+nu66dFrZZa/PmCBZagLqt9p5sMHOUVS49tAT4YyUDGcgsDLHOBIf599v/Ug/rtF1bnLpVgDudldr2 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)(31686004)(36756003)(2616005)(316002)(558084003)(66946007)(38100700002)(26005)(82960400001)(66556008)(66476007)(4326008)(6486002)(186003)(8936002)(31696002)(6666004)(53546011)(6512007)(86362001)(2906002)(54906003)(508600001)(44832011)(83380400001)(5660300002)(6506007)(8676002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Tk1Ud3VOV2RoQnVIRFpHcXo0N1BiYVZEb281TlRZOFRwSEE4QzkxbmRTSmZY?= =?utf-8?B?dWp4Wmt5OEcxdHo2cUpPZjVWZ3pzeW5MQWEzaUpUQ2VLQUpJaWtmSFZPbDNi?= =?utf-8?B?L29zV0Q4OHJSUGpDU2x1TEJuT09xNU5LY2dub3lVRG1LV1BLOXVmaCtDc2R5?= =?utf-8?B?Z3hyZ2FWR2liaHhWSTR4YWV0OWdCR3A2U2RlcTArdG8reEJNODBjYTdsTURB?= =?utf-8?B?OEl4M1g2bXo5QlpxOG5uMnpKY1k4dWN2YjJ6TVJobElpcVplUUhBRGNGQ1R6?= =?utf-8?B?QjVDS2J6L1VTQzB6bnJm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5TnNlZHB1VWFY?= =?utf-8?B?RkJmVWJEWlNEcUZtSWtaSC93bStoNG5QVFhZVURPbHBnKzFKSjdzenRvWndp?= =?utf-8?Q?MRAzgx4zdX76zrkarrerHrw=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 054a78b3-389c-4837-d222-08d9f07a3c6b X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2022 11:56:44.0949 (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: nqUwIeZvavRiINCh+p3hKN54KsdghDrddmj+ueGloqhHyeDscq9MPdeIvbrvKVdAg1spjbeqXuL2+qxs8eP38g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR11MB3679 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 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