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 1B69FA00C3; Tue, 18 Jan 2022 12:31:26 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A9DB42709; Tue, 18 Jan 2022 12:31:25 +0100 (CET) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id C23534068E for ; Tue, 18 Jan 2022 12:31:23 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1642505483; x=1674041483; h=message-id:date:subject:to:cc:references:from: in-reply-to:content-transfer-encoding:mime-version; bh=LzeHh3DjX55MVJKSgaG7RVfCZbh3vjZolM5/VpOy5Ek=; b=W/r2knEqTPYhcfJAa1Y/3P4WrrrJeW95Bl1X6iCwwnYAhvj5HuVWbpIJ kuQmzQgi1zCPdsJ/pnUpYUnQZIP00AAO+Hv73rFWUeR4HbytNU3TqbEoY QyrVQKs97XJ1eE4Tko9FYzLujxpCfe8JIbUrbVqnmV5+4jw9k4IfImkug tQZ07YOrwWqn13tkYMuF+1LN9Z3qIcDLzn6oiP+tNQ7qtY2UDyjVz0rWS MCfN3PU9vuy2L/aswwWibZIrHdAAsLg6qs4RVNGCOASYKAgr/MIAX9z7H CnkAgOz/2+XtFuu5yWIHeww+fEGwNY43tJbfIFGKPhRPKPY8AAlINszzn w==; X-IronPort-AV: E=McAfee;i="6200,9189,10230"; a="308131991" X-IronPort-AV: E=Sophos;i="5.88,297,1635231600"; d="scan'208";a="308131991" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 18 Jan 2022 03:31:03 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,297,1635231600"; d="scan'208";a="595034916" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga004.fm.intel.com with ESMTP; 18 Jan 2022 03:31:02 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 18 Jan 2022 03:31:02 -0800 Received: from orsmsx604.amr.corp.intel.com (10.22.229.17) by ORSMSX610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Tue, 18 Jan 2022 03:31:01 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx604.amr.corp.intel.com (10.22.229.17) 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, 18 Jan 2022 03:31:01 -0800 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.106) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Tue, 18 Jan 2022 03:31:00 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mz2mz+GBgvnj0yyzKrJxqPEJrkFwKcqhtYu9YbJvqVzPv5csJISSt1AeIeqzBqD/FLMD+q/bkMwm0ErdugD75Dn9VmRbct3qOVb0uO4cJKs4V0i6zDdq+Fm0UmAVfwnun6QOR0nFxh9exL6peg+wAbGwqfpOMjgHHHqaVBCXluXwMO/R+tZEFC4H3xXihzUn/LO4uTjBH9B5/iJsGPUzgUJ2ihK/z9MCtHXq8U76ZG4vRryV7bmrUp34yM3LxTv2RVxLW4rXr5iOZD4aTd6CL6BFI5Alvj8BDtLLrhA0cGNH6vEXXj//PDUUcthjkmxN3jQur0/eW+u61ZrYBQTIuw== 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=SA0qUnMLye/bpR2UHXxB7Mnc1ZDdhfUzRKFev/lSsnc=; b=TBVseHbPyPY7hX3VQx3nb8etDFpoUWtCxEpz80mQNSmpNYWpzwE4Xll83+8BjC8tpoZtbRQVF17v0ERto5wK6UrBsFhxJVs0FibNiXaG3xBhugmSuGg1BsKpnaheHGRTXUUKLhELOAB3Oj8gM1q/zObqMMvyLNfonJG277XHeHyN2a5JdtNZc/JWYLmQTpxm2seKnAHvzWgRkZf7o1nzvT7qFURCkGBh88XrFcJ7Vjo2qVUqAW5fN1ysfnrJYI5obMGmdJ+u0MR1d3ZdwgHKRH1ibxp8KRHWFTP0m0SyJmTd7lsxqoHP55ywzHPBNNH3XMU7Kl8ansnxGoqkU2ZMww== 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 DM5PR11MB1467.namprd11.prod.outlook.com (2603:10b6:4:a::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4888.11; Tue, 18 Jan 2022 11:30:59 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::5046:8550:928d:850e%7]) with mapi id 15.20.4888.014; Tue, 18 Jan 2022 11:30:59 +0000 Message-ID: Date: Tue, 18 Jan 2022 11:30:53 +0000 Subject: Re: [dpdk-dev] [PATCH 1/1] net/bondig: fix type-mismatch in bonding Content-Language: en-US To: "Min Hu (Connor)" , Yunjian Wang , CC: , , References: From: Ferruh Yigit X-User: ferruhy In-Reply-To: Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: LO4P123CA0313.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:197::12) 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: bf255744-94dd-4889-03fd-08d9da75ffe3 X-MS-TrafficTypeDiagnostic: DM5PR11MB1467:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1824; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: D58+iKqoaSoG33i2L8QopYHtSXmeY+/o2oqM8HGemVWIOzHGi7xnEMC70RNWGsjsrohiJFBMpEr4i9uqjeUaVm91r4Ko4tJrLx/bB55rFB8LKyHudfweL8KPsBMGTXn40mqOFZ4e08NPUuf0j0zLJowXpJz8l0p8a1hd+js/lUrs2P80ggy65dEDWlBbKEuq4K6fUkFRIQTcuEN+mRl04W0BpHe3zlb3azCMZLMyhcW8pQaQx4BBXwtDV4XxW3nzw1MrfosS0wbZc66BR2AWwSudoK42FNsz8ZcXEWZO5lOnlTX+VkPE4U0laQrsSQpAcnPhMI8IeiwiUU4pcZo4anhFYAudm7x4GSXINrG7PCpvFrXEid3E4FWeusWoxPZEjrOJFv9Tl4g5jjgd0J9C9edKyN6xe1hnA6W1avCTgxIidLpclZs7UOzXmot5WoBHjDSYjYQU4iu540/8w3YfKtxrUMMpMf7xAEMD/fGbbKdjiuakH3jhst82DlytR/UxJpYP8b/QYr3CqWux+NlwtPMuUDsJa33kZ/PLPNoiIoZEfFwlvC/Voe6NAPbv1oEgmxcEv+HqZZ2PeUiiG9yG43a4soaqsMGryM6iW3xHx3JOuOM7JORw8bOI6iXOg2xS+p7LlcH51Yq177hLxNkW95YUepUbZcLQlk2wFdCgLLO1ffQ1zfN6YIlZcScrlNLnjtM308Dm3OWUjTqpZZmkGQ== 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:(366004)(6666004)(66946007)(66556008)(6506007)(8936002)(8676002)(66476007)(53546011)(38100700002)(4326008)(2616005)(2906002)(31696002)(5660300002)(26005)(6486002)(186003)(4744005)(6512007)(44832011)(110136005)(316002)(82960400001)(31686004)(36756003)(86362001)(508600001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?OWR5dUVSUjVGU1hWVHZhc0Y3YUJ0bTg1WEN4cGREK3drRjI0anVMbEFXSTQz?= =?utf-8?B?bDdtWFRxWmtFaXhxYVcrTUZKUWZrb0FUS0RYejRMWm9nM2NZbkdpaHBYbXJH?= =?utf-8?B?a3dLMTVidGNkN1g2bXM5K3Y1WDgzZGRmNFFyUVRnWGVUWVZhNkVHT25CVUFD?= =?utf-8?B?RUNaMk9EZWNzdW5sOGxZOUsvOEx0QmdOdW5qZ2VXVUZmUHpOazNUdXpXdXF6?= =?utf-8?B?Vzl1STBlVVI1VGV4WVg1RHo2UEVzYlZpYUdsZUI1a05lY2loSC9jK0k0LzNx?= =?utf-8?B?SWRtY1pJeWp4UUx4b1ZDYTk2TWVEbit1d2JLWWU4cHVabStHcGpSRGRPRkli?= =?utf-8?B?dWc1YlVGcWk1VEdMU3NpZXVCVnZadlNhRHVUcmRmTGtqMjZtS3pwNFJPK3BR?= =?utf-8?B?clZWaGU3QVFxM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dd-4889-03fd-08d9da75ffe3 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jan 2022 11:30:59.2963 (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: OIOqRe/znkq1jlmeO+u9K/tGDbVWfAAB7TR59MO6gNyqPSwuw+9cnj8tFZRQMrwLdkljVY+60vpm29GjpEZEGQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB1467 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 12/11/2021 7:57 AM, Min Hu (Connor) wrote: > 在 2021/12/10 19:41, Yunjian Wang 写道: >> There were some type-mismatch issues in bonding and fix them: >> - Use %u to fix argument type mismatch in RTE_BOND_LOG. >> - The internals->mode is of type uint8_t. But the function >>    parameter 'mode' is of type int. So change the mode type >>    from int to uint8_t. >> >> Signed-off-by: Yunjian Wang > > Acked-by: Min Hu (Connor) > Fixes: 2efb58cbab6e ("bond: new link bonding library") Fixes: a45b288ef21a ("bond: support link status polling") Fixes: 68451eb6698c ("net/bonding: call through EAL on create/free") Cc: stable@dpdk.org Applied to dpdk-next-net/main, thanks.