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 A54FCA04FF; Thu, 31 Mar 2022 12:19:26 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 411E1410FA; Thu, 31 Mar 2022 12:19:26 +0200 (CEST) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2073.outbound.protection.outlook.com [40.107.22.73]) by mails.dpdk.org (Postfix) with ESMTP id 4364840DF6 for ; Thu, 31 Mar 2022 12:19:25 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DpXj0+OEZu5bmPAXjqpk4VAD93GkmOTNsaikmBubQLuTgkrXNqEi2LcDUClOENbIjwz438Eo8cQFXmo2Cni6wlAN2nQ/4u2giHPoMOdF133R9VgxFVDUOnkk/tQP/IdsXI2wOMH8iLveWxCJto0X/aqnVtQT6XJQ+I7PVefGd0vfAfoiDeKuiKy7vAOtNzQ7fG0VOUUxmjFseUiqhZyxbrhIWt5oIvhreosQwkd54mtBkSHlGPHOf4JOESAay3YthmquHi80AlR0W4mifKiKJ55tAP4cq7UOtBQuKUV7UPaElOEhWSw8a8MagjQKC+erAGapze0OhwcNKI/eGVLLpw== 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=/CCuAS2zvNYjXIg5wRkjPfoqWoE2UR6w+L+WvoIaTdk=; b=Ghgqge6c1Vh9PqrQ1kTxx/BFp3OkPkRZu+96j5OxPUq9zlx7qxA7h4a2SFXnBfoGDs/eLoNRFfVrEkCH4zJoBAWEnncPJd9JotW2D/swfhsHZWuK/y7YMlxz7RpG7V8HzqU5LiS72IJP2v9bT9qLS/HT5rEKc7WleBl67aOiedrvyAMnHYz3MIFM/Ivgt0V50/TDBqWV2ejfmPCXt75MU69iUDyJoij8+AzhoAslyN9IrE/fUHYvZtN3FCOMihhGznqpVhqYvtnhthQzVb8jMwU10JwhLU22js+EJYDddwebcEoPkyTwXhAmPN8E0KchqW8M1f18fMhHqKXYOn19Cg== 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=/CCuAS2zvNYjXIg5wRkjPfoqWoE2UR6w+L+WvoIaTdk=; b=bFrBLeC4yYjQjJpviFOYDModyz3ugmMx4ej7Osy2xOf0gs+Yrpho7dqw3yolJQPsjsL6GTxCf9/wxS+QZ6vS7Ug4z3jC5lYWDmDOSnmJKdOOtjvQh3a+Jv1xZt4EzILrEJAoT4JqwFpDFksc/XlMyY2HDekZMvKyoThl38bRf+8= 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 AM6PR04MB4360.eurprd04.prod.outlook.com (2603:10a6:209:50::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5123.21; Thu, 31 Mar 2022 10:19:23 +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; Thu, 31 Mar 2022 10:19:23 +0000 Message-ID: <415936dd-c44b-2c65-310d-ff23e50a7fe5@oss.nxp.com> Date: Thu, 31 Mar 2022 15:49:14 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 Subject: Re: [PATCH v2] net/dpaa2: fix dpdmux default interface Content-Language: en-US To: Tianli Lai , dev@dpdk.org Cc: hemant.agrawal@nxp.com, nipun.gupta@nxp.com, Sachin Saxena , Shreyansh Jain References: <20220329202610.10786-1-laitianli@tom.com> <20220329220107.2523-1-laitianli@tom.com> From: Hemant Agrawal In-Reply-To: <20220329220107.2523-1-laitianli@tom.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: SG2PR04CA0211.apcprd04.prod.outlook.com (2603:1096:4:187::19) 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: 2ab43cd5-9e0a-455c-1c14-08da12ffed24 X-MS-TrafficTypeDiagnostic: AM6PR04MB4360: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: NdMgfsKh2DhI6MZWQjqvcufCwp3sQ8KO+IyAs9wTTLOrBQPC8fMxxeSpU/zIgZ+ptuiS6cbra1v4dGzNSSbWLBcLAVuN245bZdgVeKmKlq02F605+GdLmYq0UJIW6VEjtYMwEkbRbjvUcE+80mzT4xogLNEWfBvD3JzKLCYo7amiOSkcefjUdMRjBLRXitzyr3gqj9/zPT3gjrCXbChcfeTscirWBAIEQxIIDoEqFNZ8lzgka2xelmQ+tovT9fTdpx6YMK7aTv1ebDobPmG9mgyEiye61ngleMAIXvHVq0aCQwH0VRYP2055ae2S3gYfeozGO0Ce2QNcdjcxfwuuJU+lBefGfq4yYSjRvHiSSZFfn6SZ+5C5mN2m+CZEAWr50cOPRsOfMfZAOuYcEhA4Y3AdYH/4cMHwII8nswFygnm/Yx9RtFSpyPQuM5uV+GtUYQ6PFL63hPsCYB0Sgga/zphtOijb7eQVF4vnWis47CeRjDowe67PeHIydAdvc2nonyG0JIXb2e1ZS+t3Kn6tF/cDXDGF7J5d6SedT2hoWXOIF9cSKsRBmnXm2ZqFaw7zbE5xqbEYrajuqIYmnT+AcM+ki4K3PS931tREknzdsHD0kMjKvNdkRphPoyhhpRgEecHTTpw05SMCpklj/gsEoACMJraWWm8W7RvwoBOYx2PzQ+tFBN4kCtBQTub0+HQ+31Ud9dePZ94YQICz9c4fkTV6fQsAbFdo2+hfHCt/8eZh0HcQSodGju2txe4FXcyRKFZpdva0STS3BV73XevzNA== 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)(6512007)(6506007)(6666004)(52116002)(5660300002)(53546011)(508600001)(31686004)(8936002)(6486002)(2616005)(2906002)(54906003)(4744005)(186003)(66476007)(66556008)(4326008)(31696002)(8676002)(86362001)(26005)(316002)(44832011)(38350700002)(83380400001)(66946007)(38100700002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?QWlmMkgwSGdrY0EycEJZL0dFOHVkVVRzTCtLaHN4SmsxNWNRZm9hYUJWMGJ4?= =?utf-8?B?ZWdmUkI0TFJGcUFlUHp4UW5NbTA5a2lPcHl6R3RWZmFOM2dld2dqcytMOU1O?= =?utf-8?B?UGFXR2UzZ283R2VTUWNXSU9NMTlib2h2a3lwOTNXdXBHMzUySkQ3NW9NVTdz?= =?utf-8?B?cm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G9iUU5nRVA0TFdrTS9P?= =?utf-8?B?VWJQMk1mSGlobzExSjNtTW5jZWhFNThtbVZBZWV4blIrSjMzOXlEUzJZczBT?= =?utf-8?B?a3k1M2xlRXl6RXhjam5XS2tJWms3Qi9oT0w1cm1leHVScmZ5WWYxWG50YXZ1?= =?utf-8?B?SVZUNkN6aGxnc1l2TnJJN2ZVWGU4ZEREZkd0Q3dwQXNWQXlEeWVmZHJKMk1y?= =?utf-8?B?bnU0RmpyQkx5RUhQQW5wdlJaL0ZESDJCRWtBL3lybjVwcTFocUF4ZnVFMW1y?= =?utf-8?B?aytES1BCMkV6RkRsdVY2eXpTYnlwN1JHL0VnUVM0OWd5MFRoQUJURzZVeHZD?= =?utf-8?B?WXI4dk5lMzU5UXdYclE1V3FiNS9PWENqUkJSdzErdjV1UVYrbXdpQ2NSNkp5?= =?utf-8?Q?xjFyoLfscqaHEAx8=3D?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2ab43cd5-9e0a-455c-1c14-08da12ffed24 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB9064.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2022 10:19:23.4638 (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: CuF6u+MqPWKMaGlzdMegke+UcMB1F3HmFXe2PmcuNRAEb2HjJmq3CDXCPkS5cXkd5905+moalORaHxXhfRUv8w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4360 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 3:31 AM, Tianli Lai wrote: > if dpdmux objects created by restool tools with > the argument "--default-if=", this > function would change it to 1 > > Fixes: 1def64c2d79e ("net/dpaa2: add dpdmux initialization and configuration") > Cc: nipun.gupta@nxp.com > > 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__);