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 D4D9542C69; Fri, 9 Jun 2023 08:01:28 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B43D940EDB; Fri, 9 Jun 2023 08:01:28 +0200 (CEST) Received: from NAM11-BN8-obe.outbound.protection.outlook.com (mail-bn8nam11on2100.outbound.protection.outlook.com [40.107.236.100]) by mails.dpdk.org (Postfix) with ESMTP id B9CAD40A84 for ; Fri, 9 Jun 2023 08:01:27 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NxAk59Y/mwkzxmQvjmFm3TMjoywcPz+p2jlGQBXPXt83360JIqTcw9uv4U+cWVr5Eb22V53e/sHGrTU2chHRy3va5lUlZwZPHLE+1QiQsn8IwKcZ1/xMExpFP10CGejvubOlaUAb9vBGr8zSkzMheCEDBNiF9nUySGEra2aCIJm2mQr2Ta0pW3EcNNbm1MbKdMDnWW/JRAwlLnKLugXB0t3JZeqf881HyPAHtrUBUfk8wd0i1sp/OdcYnpFs6nSbPC18ztidy34gkbGLRI4tft3PFwQdg4ReAL12Qclw2oxoYA0sx1BAS8iMOjlAFZJplimdE/kzPpt6UKaCx92X1Q== 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=2VvOUQXDbiu1fTxSLl5EaJfXSbDzJe6D36T5NSqZMsA=; b=WqNaLM0e7TSBmjA2JXlY1xJQVOENm3JAhQro+7pLtfEZOU9NWkXP1xxy5IiC6PtugxhANh0k5HfPqAV3g9kONWBjCkHMs6wrZcSS7E943yR6jCWY6eVtN9V00T8Ke+JSFP9x/YRHgpy5FTMOM7TT1msX7o7Z3aAdmf3yGjKOU/vC7qmO1wE5m0uip08F4SgJ2viQvp/bxegRNftkG0rsx1nAL7tiWKaYCfEmMWsI1tCUNyAFsfhurxtRc3/+ELxMylIzonkRS1HP8gTj4SA/dN/x1wyP14v0JvqoiN8Wn6YLe10w5vskk58JksbX6rgyWZqQ6uMNAkOXerjGaix+eA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=corigine.com; dmarc=pass action=none header.from=corigine.com; dkim=pass header.d=corigine.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=corigine.onmicrosoft.com; s=selector2-corigine-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2VvOUQXDbiu1fTxSLl5EaJfXSbDzJe6D36T5NSqZMsA=; b=cvOOVgZA5QdLa1tvWWz+bvb7iB+pGvmQlfw8oVrPeIdaGrw2//10wxfnXCPN/O9lenAH/iYu8SYpteSyRpmqeKOWVAtqbfWYBcjDP6fxeDLeI0EEKAtNoEBa4bwLG9gfaYzKQ2i7yL/xk7w7rj09mzsS7tQIQk7YwI1RVO/52P4= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=corigine.com; Received: from SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) by CO1PR13MB5046.namprd13.prod.outlook.com (2603:10b6:303:f4::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6455.33; Fri, 9 Jun 2023 06:01:24 +0000 Received: from SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::d2cb:a650:e1ce:2174]) by SJ0PR13MB5545.namprd13.prod.outlook.com ([fe80::d2cb:a650:e1ce:2174%3]) with mapi id 15.20.6455.030; Fri, 9 Jun 2023 06:01:24 +0000 From: Chaoyong He To: dev@dpdk.org Cc: oss-drivers@corigine.com, niklas.soderlund@corigine.com, Chaoyong He Subject: [PATCH 0/3] support using several cards in one host Date: Fri, 9 Jun 2023 14:00:57 +0800 Message-Id: <20230609060100.1306648-1-chaoyong.he@corigine.com> X-Mailer: git-send-email 2.39.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2P153CA0035.APCP153.PROD.OUTLOOK.COM (2603:1096:4:c7::22) To SJ0PR13MB5545.namprd13.prod.outlook.com (2603:10b6:a03:424::5) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SJ0PR13MB5545:EE_|CO1PR13MB5046:EE_ X-MS-Office365-Filtering-Correlation-Id: f550eb74-197b-4b52-0644-08db68aef47b X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: k+JmABITaXFoa+sxacflnysLqEQeHWBn6tCscTlIPhLEscjq6mZahf6/XwnnQTUFBM5nU5XkIHTwX0opIgk9PCXfYLLh+cEqB7OKvL3KAiaz3RbVIHl3Pl8cLIDQ51B0qdGbnpfn6Sk8yzEOg8eQFFaVVHf87NM1LrRzRnJQOP0JgemG3Z0kTrEZKqobgDqiwg0/0hjDFS4zh4SX/szPZpkSrdVVf/eehzcS9LPIwI3tesz9Rcrj0ghWvEdKwRJCcFDDWH5mmE1OkwbFrBshJY2zGYm4hlL+fa3r4Ub2B3gdK3BWUU0X4u3D2MvuVZgD3oTQmM/7GSp5ZIWN6GB7mHLw+UHvn4c6/Qs2ezelluva/frtl+WOFLMcXTFFiaOu388KRQjdq3Ubb+D6YUUZtGcLWLipkZTHXn0f6HWT67c/d5lI7p5964gMmy/52hPiFQvlEdpViJAnpxzpwUxbiZvlWEaMs/vBeOFu/zNClBwMOQoYW64Nzb8RextMmmo/R62yrmBXGrVbhMJLOX2xroOk/CWCY6u19HSjlUtXTAkFTK+8Vk9q+/kKXbz2HwbPfLRaT4eeTlCgwxb5u8D+VSNMEV0NFNmFprBU50ZjXZO7+QrGTExNo1jlB7S1tqZ/ X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR13MB5545.namprd13.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230028)(4636009)(396003)(39840400004)(136003)(346002)(376002)(366004)(451199021)(41300700001)(4326008)(66946007)(66556008)(8676002)(478600001)(8936002)(6916009)(66476007)(2906002)(316002)(4744005)(6666004)(44832011)(5660300002)(6486002)(52116002)(6506007)(6512007)(1076003)(107886003)(26005)(4743002)(186003)(2616005)(83380400001)(36756003)(38100700002)(38350700002)(86362001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MFA1eHVNWEhnNFdaejJjK3dwbjBUTlFtYkdLSnJmYnlHRU9OVGxHYWdNUlNZ?= =?utf-8?B?bWdVUmdBYUlzemRZbmIrZUZCUWQ0ZGVyU01TS1ZJVzhqSnZPbWVRWUZSdjBh?= =?utf-8?B?UmlPNWc2RTh6Vll4T2pJeGsxUmxDdkVVeUtIOUROeERWWG41YUlBcVZHZlht?= =?utf-8?B?T2xKV3RqanhOZ0ZRUC9jQXNrY1B0QXBJZHdLaDBmN1pRTjJ6U2lFano4MEl0?= =?utf-8?B?dENBWmcwTjYwSEdrRWdvUTlOZldwT3pXb1ZLQXN0NkY0TWgvM1dzMXVQRUkr?= =?utf-8?B?cjA1aE1IZHFqUHQ3dCsxZzh6a3RXYzZkYWwwM20zL2dmTSttLy9XUkFoSWtP?= =?utf-8?B?bGFNbktOYzJ3T1lsK1ZVSGdZZ2FlbmwrbUR4aThqNEphc3JYWklzdFo2Y0dR?= =?utf-8?B?SmFQSjF0aUkrZGFVakt1ZFlkeWdzLzlGS01zM2JjM2Y4bnduYlErbG5Bbmp3?= =?utf-8?B?RUdL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lvdk16?= =?utf-8?B?UWhhM1ExMTlJNGNQQU02YmhsMHJFOWJISDlFcmtuMlFsKzdzbWk5OWxtRjVE?= =?utf-8?B?VGRicGpwMUJUTGdNVFcyM2I5aHFVZ1hoRWJqcVNrZkVqTkpoTVcxRnYrK0U3?= =?utf-8?B?ZkJYM01McHBHNXF1eWZBT0NXbGk1bXZ2T2VPYU0yVzZIbnhsZjgxc2t0SnNq?= =?utf-8?B?N2xKLzcvYWhJNU1mUG53T3JMOWllUlBraWIyQml5Z2F1ZGo0Wjg5VDJFMDMz?= =?utf-8?B?WHBxSzBpT09ZdHBMMGl3bmFDOW1RcExVNTZVcVJZbUx4cFZ6Tnk0RlZpUk9K?= =?utf-8?B?Umw5NDlmbW5abUZJTzdpU21CL0NSV2RxNDAzdURBbXJhcXAzYkNjQ3dDQ1JT?= =?utf-8?B?YlVJaTRtb1psYm1vTlM2Y2tLdEJHYzc1UjQ0NjFlck5BejVsa0RYT3FFTjFP?= =?utf-8?B?clpnYzhjK0R6bS9DcXNQRnYwTm5MQ3RBcGlRYWVWUStKb1lBOEgxUXViSWo5?= =?utf-8?B?cXJ5aVk4UTBWdm5nN0xKWUJneTRUYWI1dVNFbjUxTzdiSTQzaThiY3NRa2VG?= =?utf-8?B?QjFjS3p6cW9NQjgzc1JrWXYra05SR1FyVUhNaXMzeHNwM1B6UEtNMXZDUWM5?= =?utf-8?B?TG1xdy81WVZUM08wTmhtZ05yaXZ3V0pBWWZGMGJkclNDQzRtaDYxVWpvWUd6?= =?utf-8?B?VXhvc3B4aVY0K2dYTVozd0NXTFpRVVZGekRjdWlPQVFRVGo3OTVxek5uMU9F?= =?utf-8?B?Zi9EV3U3Zk83RXlxT2pMbEtwMlJkdmloNXVLTVowcE1DZHpYZ2FOZ2dEaVZh?= =?utf-8?B?T2c9PQ==?= X-OriginatorOrg: corigine.com X-MS-Exchange-CrossTenant-Network-Message-Id: f550eb74-197b-4b52-0644-08db68aef47b X-MS-Exchange-CrossTenant-AuthSource: SJ0PR13MB5545.namprd13.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2023 06:01:24.1823 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: fe128f2c-073b-4c20-818e-7246a585940c X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: 30mkYMyuQxHgD4E/D1saOPIfNrlIsc6TYN+W9fitnKPKyBrNagKpeiapgSa2YR1roCPOOdqU8qPptvCCrRQp0jXUKcEMYQ69BFlSeVLmh+E= X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR13MB5046 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 The former logic does not consider using several cards with flower firmware in one host, this patch series add the support of this situation. Long Wu (3): net/nfp: fix control mempool creation failed net/nfp: fix representor creation failed net/nfp: fix flow hash table creation failed drivers/net/nfp/flower/nfp_flower.c | 6 +++++- drivers/net/nfp/flower/nfp_flower_representor.c | 13 ++++++++++--- drivers/net/nfp/nfp_flow.c | 16 +++++++++++++--- 3 files changed, 28 insertions(+), 7 deletions(-) -- 2.39.1