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 22F5EA0508; Tue, 29 Mar 2022 15:31:09 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B614E40691; Tue, 29 Mar 2022 15:31:08 +0200 (CEST) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60079.outbound.protection.outlook.com [40.107.6.79]) by mails.dpdk.org (Postfix) with ESMTP id AAEDE40141 for ; Tue, 29 Mar 2022 15:31:07 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=YStIStFFOsZ4fVB9NF8Oz2AbU4qHmq+udXj0qAT7M4P+n//MOeQcSdpDYCxrsZO9jdBUlPnY0gimJHcX4wQc/e8DmuITMz/fKpJ/O11QUl7FjjGnT+7+KghpzPg9+LCNoU7UJKYRboiuyhqUbDOg3YAicULFbCibjPMXfe6elOkCgEDqz3YKmApr38SV6u2HsqqwXrs7f8zz5/JxO8DZ5JjXSUsHTkqdX2Q+a6fWoHDOJCqJsLAbwJcH1tt6iH1VXE7n/ZAC62RmhVNWmZn6zlmnqxVJjkUyz0MNdgEBh2LQk2Bf4mW9kNH7gnuPI2pfU/CM091QaVeMjRttRgd0Yw== 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=FvJB+9GB+7l2dSNmpxNQXaQKW4BQbvFm+ag7UOWf2+U=; b=iUCpuB4tXhW3UGZD3KGWVqfFxmVzTfNE7C5Wd1/18ESz0QW1uSvzsqSl+M+BcUshHenu6lnUQTnzy4qeYif7GN8Ej7hJ1nevNsBpoQw4qtlU/qSKhkyHxUT5y8pTiJAZdhuoEwYUa3EFoBVAZnsxXRkgbJliwOZ0qmKoI41AvLxyzx1gKuuqHT0f5nwFEDSjr+dO+ksNE9oVdOMLd+HFf8MQhF8aLP7KvRkRz6eyQJ9PNWSWwQyfXzDjgLhL13Rcu+Y0XuCQ8OSf93WDtxKVmjI4J2lfSz5zKPsO0ht/J4nLnrup6NPPVe3iFP/reXVtV79I80GtorSm+lzVzEhfqA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=FvJB+9GB+7l2dSNmpxNQXaQKW4BQbvFm+ag7UOWf2+U=; b=LqpopLHGF1/hv7svqH/QkRWhThPH8V+48Qvvd+sRMYWs/elJ70ooiy3VxRCpG/KrhoEb51hR5OZOyZ8oMMgFQjYsFenvxhPPHod0W0ke8LncMGmTi4g1HHJOYyFiwmsq7GGADY1RmXO/0EvGMIw9GOkwepOZgKY9zDWt7muidvg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AS8PR04MB9064.eurprd04.prod.outlook.com (2603:10a6:20b:447::17) by PAXPR04MB8223.eurprd04.prod.outlook.com (2603:10a6:102:1c9::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5102.23; Tue, 29 Mar 2022 13:31:06 +0000 Received: from AS8PR04MB9064.eurprd04.prod.outlook.com ([fe80::1d7e:be9:ddd0:d3e2]) by AS8PR04MB9064.eurprd04.prod.outlook.com ([fe80::1d7e:be9:ddd0:d3e2%3]) with mapi id 15.20.5102.022; Tue, 29 Mar 2022 13:31:05 +0000 Message-ID: Date: Tue, 29 Mar 2022 19:00:38 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH] net/dpaa2: fix dpdmux default interface Content-Language: en-US To: Tianli Lai , dev@dpdk.org Cc: Hemant Agrawal , Sachin Saxena References: <20220329202610.10786-1-laitianli@tom.com> From: Hemant Agrawal In-Reply-To: <20220329202610.10786-1-laitianli@tom.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SI2PR02CA0036.apcprd02.prod.outlook.com (2603:1096:4:195::15) To AS8PR04MB9064.eurprd04.prod.outlook.com (2603:10a6:20b:447::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 67eaccc9-79e8-440d-d2b9-08da11886034 X-MS-TrafficTypeDiagnostic: PAXPR04MB8223:EE_ X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YBXcIJCcxttBI30Ax+cRBM0ALHt7388tawtXYw9TMZHSEOYwO6S/vjqogJ/D1whtKoMBOl2CeJkWXkmt1nQW3kqriUgrHSwsTwChzxTtZKQT74flQPkQ9khogU9Te36YTkFo0E/0TVDSkw6p5OeIdCzRj8ckqgoK/JVC0A2VWEWRrt6bSgi2uocxOuc5xQ+iaYaE5ct+u4MNBx5ZIUzX39jHerYw5IHChWCJfREQngTcr0zr0J4zqoY1Uo/cbYifipfgfPufbazBE2FMlpKPx0GM1ujollukSA14U0Lfx1bOjaM4IeDFsOSRWIWhVIRtPNgK6eGFoZSXarS15U1BjTiEUO1QHF+oVMaDNeE2nstDf6Ujbb4WSK+p5/sh/T8T0TRApoZrs5FOzPM5oj9fkuNjM5KBxmQgEQydeKAJcjaZb/bV2xfJAWjlMqoJJbq9+5ippfOpkldf2P5swChM60BwlvOLUgA87LFI3ZZ8a7anQqG2KLFMTn0QDgBl05R7d3HElM6If5AMy1muXFv/1alyyD6fMWqK+bvX6NHM6M+lsWxX4ArdYaQw0JzSXC9pP2zXm1mmDaggo1j240NEAWRtXM9j2FOE0zBZC0PHEW6f3pjiEbsl0IV1t1a8hCLyCEjjYCFEh33DzYG3aUHVYJ1EztXodpXtlAYcRahUf2GREhPQdrRUopEKcY7qYoJOT0FP4RbHq1J8aPV2TB9iaSazBH1Pn+P6Xurf6MNVRTVkoms2tH/lm9d/imTScDT/wh5BySiLxHR6OpwqDxFy9g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB9064.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(44832011)(38350700002)(2616005)(38100700002)(186003)(4744005)(83380400001)(6486002)(4326008)(508600001)(316002)(31696002)(86362001)(6666004)(8676002)(8936002)(66946007)(5660300002)(6512007)(26005)(66476007)(66556008)(2906002)(54906003)(6506007)(52116002)(31686004)(53546011)(45980500001)(43740500002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?V2JIZElsR05HRktjNUNpUkJRSEpUelp3dDdrbDZ0azZxWk0zTUV5VExkSnBX?= =?utf-8?B?UHNPeHBaek5pVmVkeEpxTHNIK0QrMjg2YlV4dDdsZGd3WXI2dmkrTUVoTjJ4?= =?utf-8?B?aVg5VlhVLzJLNEpUSHJoaFNRUGVOR2l4R0VZWmJUeXBUU1hrdmdsK0M2VkdM?= =?utf-8?B?TUhjSi94UkcrUUI2NjVDWUdXOEdlVldsVmVtUUVkZkVuR1k4amg5VEV0a1hM?= =?utf-8?B?ZGFoOVh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kxVVdRTkdzb2FUNXdRZVBxQ0FrSDN0?= =?utf-8?B?WGdyNzIwODZGMGJNblVIUllCL0lHNVhGTktxMFc0NTNiTjl5SnlPbk1RbnJI?= =?utf-8?B?YStpNnorUGZPcGlCOXhTemgrWlBLVVNlcWUzek9iTXF4cFBlYjl5aFlqWXRH?= =?utf-8?B?dXJmdkhJMWRoZDYxb2NtbkVnakExaVNKSUFZSlNqMVk0N0Fwajd1NHFLdWll?= =?utf-8?B?KyttcUluYlIxQUsrUjl1RmxnTnhxdkF2c1U1ZWVuMkpHS3B4Kys0MHF1WG5a?= =?utf-8?B?M3B0aUppMUZxa3oyNWllS1hPRlk0MnJCMmordm1uVXhmakJlWHNIMGEyUE9U?= =?utf-8?Q?3bRiIQJPMOuvaXyw=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 67eaccc9-79e8-440d-d2b9-08da11886034 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9064.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2022 13:31:05.7542 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: N+uiRChEGKEaCUE6tgb8XZ9Ap//09tPQS7HLOvDhSVd1BWE886hclfXiOkkiHkAopynd1KP0ipOhu9sv9wUoSg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8223 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: , Reply-To: hemant.agrawal@nxp.com Errors-To: dev-bounces@dpdk.org Acked-by:  Hemant Agrawal On 3/30/2022 1:56 AM, Tianli Lai wrote: > if dpdmux objects created by restool tools with > the argument "--default-if=", this > function would change it to 1 > > Signed-off-by: Tianli Lai > --- > drivers/net/dpaa2/dpaa2_mux.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/net/dpaa2/dpaa2_mux.c b/drivers/net/dpaa2/dpaa2_mux.c > index bd4596b891..e8689a7832 100644 > --- a/drivers/net/dpaa2/dpaa2_mux.c > +++ b/drivers/net/dpaa2/dpaa2_mux.c > @@ -296,7 +296,7 @@ dpaa2_create_dpdmux_device(int vdev_fd __rte_unused, > } > > ret = dpdmux_if_set_default(&dpdmux_dev->dpdmux, CMD_PRI_LOW, > - dpdmux_dev->token, 1); > + dpdmux_dev->token, attr.default_if); > if (ret) { > DPAA2_PMD_ERR("setting default interface failed in %s", > __func__);