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 26D6DA04A3; Wed, 26 Jan 2022 16:51:01 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9FC4342716; Wed, 26 Jan 2022 16:51:00 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id B1DB040042; Wed, 26 Jan 2022 16:50:58 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1643212259; x=1674748259; h=message-id:date:to:cc:references:from:subject: in-reply-to:content-transfer-encoding:mime-version; bh=ICErcuv1v+ihoSc5pCwB+uD7IYssFQ0CXeWkT+sGYY8=; b=KckdqbrC5kAr3dp7roOlJAchTQF/wmh7yYfuNACHSrika7blmPXw3hCj +GOjG0f7weeGCBR0oB5Jf8aaA6PNxkikCikzlD1E8o5s0iv4vJyPqWaRj omqFuQ1Hi4dHuLlfxddHRtuYlq15goupDlBfTfP3c2XqOBH5XSwq16Isy qF/BRlnj2kToFXDMW4KiDiDQRxXrEIUzN2ZFxoaGnscP6XECAhYTsJs+9 UF0OwOeIsHV9elDYFfmDW8Abs8KDAJdY0NN3kcGtTDQnNiZ/1AArrutOr 1tidglcble29y7wvjXO65Dda97ZrtLUKSDHpmkfsAIxx4D3LjZZnIG5s+ w==; X-IronPort-AV: E=McAfee;i="6200,9189,10238"; a="226553950" X-IronPort-AV: E=Sophos;i="5.88,318,1635231600"; d="scan'208";a="226553950" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 26 Jan 2022 07:50:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,318,1635231600"; d="scan'208";a="767168315" Received: from orsmsx601.amr.corp.intel.com ([10.22.229.14]) by fmsmga006.fm.intel.com with ESMTP; 26 Jan 2022 07:50:56 -0800 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX601.amr.corp.intel.com (10.22.229.14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20; Wed, 26 Jan 2022 07:50:56 -0800 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.20 via Frontend Transport; Wed, 26 Jan 2022 07:50:56 -0800 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.57.42) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.20; Wed, 26 Jan 2022 07:50:56 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LaVE2vqc16nTWc1PCXQJKsnCOPkusJUEr3MWOx08jEcYDgN9F6y07dvruUFMTrkLAi6rmvCprPcjxQHy8NcwYebbI5vpV5//DAQ6/bCK3tFD8DAQcOW8Yk6tzpTrWmp0zRM/oShEPLVgIMqRVfr52P38X5x0AJdNoltHODkD/LgKKu2qHUzGD/O6LCmA3lubK3pgKuGSXjB1OVm+O/AOkz19n1xnpT2YVuBxyUEcY31V5Nnz10FayQ4LT51/jR99ox9WnJUf+LbBDYA0tcn3EZTWNM9wSw76RTW3hMrfQ0+DczC460Iw+8ktHz/zDAi+MIlBoJ0VHWnPXOKX4hIvow== 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=FGz6i+uQf0eq7XbXpSZ+8IHfr0z0azQ9QOYJ9VSTr4I=; b=G/8sjvK++aUSfa7XgM0n0ZqxRPARqTfhV7Xsx5gCUP3VDIHxM5BDzufqa1vc5Opd2dnzXyEcPWoNSN81dBa4+LYU9F8kv2QvrLziQCB2bfuHODf2O2oPxkxTLM5H0jpZZQQXiubUkV5ZqHONXrEGRHVxM56ijKcCGVt/j/zlMJueP7oxC3uIaLE9C0vneyAj9VKn6C1gfOIyC7VXRmtA/fJ6EAo2RGvZFNO3GQe/eCl7Aw62uYmQ8dZ4oA61rAmtL6E+uJT6XKaWpxyF4fENUbI02DCvNDbuxcx/o7hmnJ1dUVWJTUSq2vibJfD7Vd3RPQNEeHEV13UY1mG4wTdTzg== 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 BYAPR11MB3414.namprd11.prod.outlook.com (2603:10b6:a03:85::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.8; Wed, 26 Jan 2022 15:50:54 +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.4909.019; Wed, 26 Jan 2022 15:50:54 +0000 Message-ID: <19d4142d-28bc-878a-0c9f-4c57a16dc31f@intel.com> Date: Wed, 26 Jan 2022 15:50:48 +0000 Content-Language: en-US To: "Min Hu (Connor)" , Yu Wenjun , CC: , References: <1642497532-16596-1-git-send-email-yuwenjun@cmss.chinamobile.com> <0a8fe3a0-6762-6da1-f7c6-c33b727c50a4@huawei.com> From: Ferruh Yigit Subject: Re: [PATCH v2] net/bonding: fix RSS not work for bonding X-User: ferruhy In-Reply-To: <0a8fe3a0-6762-6da1-f7c6-c33b727c50a4@huawei.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DU2PR04CA0046.eurprd04.prod.outlook.com (2603:10a6:10:234::21) 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: dcf3fc4c-c097-44c1-6194-08d9e0e3a2c4 X-MS-TrafficTypeDiagnostic: BYAPR11MB3414:EE_ X-LD-Processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:163; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hb5QYciPEZaUsR5utnO1Vsteem4zPrGDWpvkHANAw+v61cieyUCMnQVtIKcs1z2yPUpAhvUptcyoIsZPWbO9cpAbFN55oFzPTDdMPDQog5a/G69rtagVmfLt3jp5rC8X+6xtV0Luif7iCPVRVmXTh0Y0ABsKGYmRYef67kL22i4eibBmdhsKEz92drSDtEGn3ecxNxW0XZZYhkldcG1IFV+EPMBhAQuS/IM+v+/MNuphbEtnejp6DUSJCpxhge9R0tycPCrl+1usPbBUZBLK0/Dg47qkemyuI8NsudfpOGVu4C3Jjr7kTzoic5pVyPBKdhdhXmO9p19+u3RYJ5rd3URIdry3XD6pPhdv+dGdMZc+CxxkRIbzbOjMf3SJh5aLcM+En1VboBdAsAEyBp4/QTqkUUsU/Lr/pvbRZ1RCr4iPYCJS+5ZMse5tKY1abM4oqdel/4h9fe0t/oHRfwM0kMPmVRIGLsA0MKnVAvXGIVySuqWCbj5WLyuXONnPGkEKzP1J+gOKGcPT+idHWWJW4H/3hNnAQksju+35cVtMoxUllSTx4lMDt0cnAbY9+HKzeyHO3y4sMZLuxtraWAiApFOyLW7a5grDrPX8i+YiHOUQDyUQzDpPRqAC5A+1zalF6Sh/owLyeUbWLrAxGl3bPtsXK4bQdbJ2lB9TYisyc31rgpPoWnnffR6hoJffJBAVNlOUQMNRldVJz31Ur6zLTg== 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)(4326008)(186003)(66476007)(26005)(38100700002)(8676002)(66556008)(44832011)(8936002)(82960400001)(83380400001)(2616005)(6512007)(4744005)(86362001)(6506007)(6666004)(53546011)(5660300002)(316002)(110136005)(6486002)(2906002)(31696002)(36756003)(66946007)(31686004)(508600001)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?Vmd2NFJhbHk0eEMzT3hkOUFnd1JKR2ZRWmZ1RjBpQXFTYkczYmlSKytyUUV5?= =?utf-8?B?LzZEUnlHZXdVT1VBRCtBTEpDZDA4bkgxVXlqOW5vRUxWSlFzNU92bUJlSk5v?= =?utf-8?B?SHFucE15Nm9qeG1TVzhqSmE2RnBDczN1R3pHc09YbVVPQ3RoVjEzeXg5T3pY?= =?utf-8?B?dUx6bXZ2eHJUWlEzNnR4MGxJYThDWkhwdGlldlZpWlV1VnA4WjVWTFUva21a?= =?utf-8?B?YUQ0M1JHVXVMQkd6Z0F1cDVIRGxqRklLNTJUUWE4ZkZwTlVHcUttTnoxcXMz?= =?utf-8?B?WWp4aUdUdk1EeEZROXpsOWluMzRDa0hLS0lzSnhjUTFHMEtPMTU2V0ltTWdT?= =?utf-8?B?N1dGMUJaZndLRmlFNXpXeEVhcGVEUnRtOU5WUXBJQTBkVTIvaHBscFVLK0ZD?= =?utf-8?B?RlRhekd3bSsyMUtzOXp6cm5XYmtw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4c-c097-44c1-6194-08d9e0e3a2c4 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 26 Jan 2022 15:50:54.6049 (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: t6h/DMqm5hqOfi3wDpT6Wz+ygTcwWrkojioo6ZMP7SfPDIwqEShN68dtP08amBMfjj7jf751K4h9R9MDe+2sfQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR11MB3414 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 1/18/2022 9:27 AM, Min Hu (Connor) wrote: > 在 2022/1/18 17:18, Yu Wenjun 写道: >> RSS don't work when bond_ethdev_configure called before >> rte_eth_bond_slave_add. >> >> e.g.: >> dont't work(examples/bond/main.c): >> rte_eth_bond_create() >> rte_eth_dev_configure() >> rte_eth_bond_slave_add() >> rte_eth_dev_start() >> >> work(testpmd): >> rte_eth_bond_create() >> rte_eth_bond_slave_add() >> rte_eth_dev_configure() >> rte_eth_dev_start() >> >> Fixes: 6b1a001ec546 ("net/bonding: fix RSS key length") >> Cc: stable@dpdk.org >> >> Signed-off-by: Yu Wenjun > > Acked-by: Min Hu (Connor) > Updated commit log to include rss key length being 0 detail, based on discussions in the mail list. Applied to dpdk-next-net/main, thanks.