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 BE97BA0524; Thu, 4 Feb 2021 11:46:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3D1282406EB; Thu, 4 Feb 2021 11:46:14 +0100 (CET) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2057.outbound.protection.outlook.com [40.107.20.57]) by mails.dpdk.org (Postfix) with ESMTP id 7CF842406DF for ; Thu, 4 Feb 2021 11:46:12 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DffVLokH7BCeDFmPnmz3GOVxfvELAr38xNsQtAmbbPCe37jP3Q6hfA7Ai4s91ZhLyafSWn672aO4I0N9IsyemXmbSPHnWiaqQ/dZAxxaQM73tUgYBdZimKAK0Mre5Ly6v6w8gK4Zu2gYnVEoFDiivpXPDFdLFnNTtNLf5f6eT0bG2h9bPpJWltk+Cau4BeQoZI5yUWpNLJ47IHuKhsAl6rfa5Vy2lOwjDRrs+N7N8g275AiZ4gbVRCG95UKJ4saJS/mcwdPCothmhCCV0p0OCSorzsaVKg590y8l2PjPGpQBB84VaUaJ7PV5AyuKw1dCnMuOLzu748kKTH97VOk3VA== 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-SenderADCheck; bh=OfRUa4XROg2GfJHAcyjT51Ox8fINjJnWmngX2iWSIGU=; b=bde5ZNpoHSYB0tigInJKNKMQTQEu2hHmyE19nR23iypBzhZh+PwIa66voKu3im0xDfEs819Qogx3NCTZe3bC1r0bnKOhB4AANTty4zRBccoOfnqIAuDhoaxW4uR6u3o8mYBBhvVlzv/+F8+x28fZWXKne6WbM52SgGxFkNqYcWuYpKSsU2VWJ/kSZxAzdx/uWugveY0upT+Mta3EDq61qbXxywG+KRf5r65laHjWwm1Df2bkQDR0/P2lkfRUYBTYe0AAoUhEF8zNdfzFkGuPNxD/YT2Bp1ILBhRKKI4/KOgoG9U3CLKlGDIBIYDuGxIdGQEzenmC9PNlNWKm9DoGOw== 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=OfRUa4XROg2GfJHAcyjT51Ox8fINjJnWmngX2iWSIGU=; b=LQ277dPxkL3Jo0I7XT2Yl8dfvVBdEHzXEGijtyJWWg801fyYCsU8AutIr7KS0iMd4lTpBff1rCiaW33QnoZf2C0pxYWa/6rfKsEZDK0xyilHnwstgsD++22LTMIEz0e9jQC/NMNCDzWMWORuKlKBmKvv/6FIxyV7U9727eYb1Z8= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) by AM6PR0402MB3783.eurprd04.prod.outlook.com (2603:10a6:209:1b::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3805.25; Thu, 4 Feb 2021 10:46:11 +0000 Received: from AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::e5a2:51f9:61ba:1af7]) by AM6PR04MB4456.eurprd04.prod.outlook.com ([fe80::e5a2:51f9:61ba:1af7%6]) with mapi id 15.20.3805.020; Thu, 4 Feb 2021 10:46:11 +0000 To: Ferruh Yigit , Hemant Agrawal , dev@dpdk.org References: <20210120142723.14090-1-hemant.agrawal@nxp.com> <20210120142723.14090-8-hemant.agrawal@nxp.com> From: Hemant Agrawal Message-ID: Date: Thu, 4 Feb 2021 16:16:02 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Originating-IP: [182.69.171.177] X-ClientProxiedBy: SG2PR06CA0087.apcprd06.prod.outlook.com (2603:1096:3:14::13) To AM6PR04MB4456.eurprd04.prod.outlook.com (2603:10a6:20b:22::25) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.3] (182.69.171.177) by SG2PR06CA0087.apcprd06.prod.outlook.com (2603:1096:3:14::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3825.19 via Frontend Transport; Thu, 4 Feb 2021 10:46:09 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: bdeb55de-c4b5-42a2-c985-08d8c8fa15f4 X-MS-TrafficTypeDiagnostic: AM6PR0402MB3783: X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:7219; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: omStLGDUUtFRg6uuELd30Er/VNBNhYgpOSspg8v9PpDDEvnxXnzB6kPMezk5BpjGTZj38yvMRFhy6BN89XzID9UowDr5tHZhkR+Ug4O187dK6TEBSidbUJOoNr264/7aUawXZ68sGCYQVTpt2eL67sPRnQgaFOoSgA5gM+kPfO06VIwvYzZ9aalPzN/J6FtXn0n3LzeBHFVwLJejlNWVVU/po1MwLvcZUTFCRYs71YOfemG0ujes70qKdzbnlML2+3w+2fSyqiX01zfebGwY0Yzl89jp0keG3DRuekKise7B5Wsm4tqcjqPmPIpqVi70tzksT+A6DRjaJoKyWjKFaS75CI8tajX8vXiubD2ONp/zD9CvT6SB/cTBWxazWZXPnldEUtYFjszMwX+VWyIu6JEo6ujclgv/bSwbU1WldSDPS6qpyaSP+meA5/WD5qsy4siXPFSIvZ3/mdL3rt+hXAw0huKdPCernsROv1/T8CTp0bLuHz43HAKRSt/+C6/7O+1R9P3gE939MC0RJfDOVNy7z2aGaN6Cb/jfJPY/qhiKcL/TUcsuXDp/5gXRGSiRt61293gsCmWjlJvZS0J86QDUCJd4Q0Wf9SF/yR+mzag6uvKWCFuAKaeOiqCtQ0Yl1TqtfhE8OXzzycnksTWLbQ== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR04MB4456.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(346002)(136003)(39860400002)(396003)(376002)(6486002)(8676002)(66946007)(31686004)(478600001)(52116002)(86362001)(110136005)(8936002)(31696002)(53546011)(83380400001)(6666004)(2906002)(44832011)(26005)(2616005)(66556008)(316002)(956004)(186003)(16576012)(16526019)(66476007)(5660300002)(120606002)(43740500002)(45980500001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?VUJBYlR0MHo3eGR0L3BUMDFKaFpjME9IME0zbjBlTzZ3em5pdVp3b0gyQ0VC?= =?utf-8?B?MGhaVlltVXJUN2ZxSXArVVhCd3VZYzVWU2hXNUdzWFdwZC9hZVR0eUdrcDR3?= =?utf-8?B?OFNmMzB3eVlCTmp3MGFlYmU3aVFoUklxOFZvbXlBWUJub2Q2ZU5iS0lGcU0v?= =?utf-8?B?ZVprRmtGdjNBUWtHbG9vQU5WZDR2QndvM0hVTlpKbFJrMXhSM2JqVW9SOEJv?= =?utf-8?B?TW8za2Q1M1paa3YxeVdnbUZ0Y3g1M1pwNTA2SjRLZ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WjBWUCsyYStSR1EyLysrdCtGaTBCWVdL?= =?utf-8?B?em1MZ2FPNVhSN3RrZmFFWnRwSUVVS1lRTXc0ejVrQ1Azc3hWUnRlN2R4ZjhQ?= =?utf-8?B?MkRDSHMreE1TRWFLZEI3MEU0MU9pU1R6bGlzY1UwRWdqWWtZZG9pK24xMmRr?= =?utf-8?B?Q29UL0hZQjNmNzBJUjkrb0t5NVVEU1VidE13M0MwZ2p0a1JxUEpwZDNySkJh?= =?utf-8?B?elNKNmNqY2J0L3U1K2p1alRjaUk0d1RFTWVVd1NwRkZ0ZkQ5RWxyb3dRRzBk?= =?utf-8?B?dU83SFJJRVZwbGtQM3JJaFFZVUJZRkJ2cUU0ZTVZcHArTUdzWnI0NTlIT1Fv?= =?utf-8?B?NGZoWklDNE1VaHZ4dUF1V0ZZSzNtOURXcTBzMXpGTTFoK2tXcXFia3pKdU8w?= =?utf-8?B?WlZnSEpSNnQxU0hYc3BNeFFMWkNqdi9nL0psTEt2NEJKZlB2aDlNSzgvemw4?= =?utf-8?B?WC81UWNLY0lQUit0VWxWNXloc0hDR2p3UFFoVjBSelFNNWg2UlpEUlRGQ25V?= =?utf-8?B?THVCT2RUU0ZUUDAyODU1ZVV6VWJVR293bGZrUW5CQTY4eHhVZWtNOWFpMGNs?= =?utf-8?B?b1Vjd3lmTTBNTE5rQ3lmcmRMSUpxcFV4MjE0NjM0MTlwYkN1TG9XdDR4aUVC?= =?utf-8?B?V0ZMZUtSS3ZPblFpU1JTQT09?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: bdeb55de-c4b5-42a2-c985-08d8c8fa15f4 X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB4456.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Feb 2021 10:46:11.0387 (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: epbK1j9yxx0IZ9CAPBfU0hXuXKvSdNEiDwGmDnQWyUuBepI6yb6v9MF0AX8c4grjmP/j+vJwaOf6FYKAfTDlnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3783 Subject: Re: [dpdk-dev] [PATCH 7/7] net/dpaa2: add support to configure dpdmux max Rx frame len 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 Sender: "dev" HI Ferruh, On 2/2/2021 5:08 PM, Ferruh Yigit wrote: > On 1/20/2021 2:27 PM, Hemant Agrawal wrote: >> This patch introduce a new pmd api, which can help the applications >> to configure the max framelen for a given dpdmux interface >> >> Signed-off-by: Hemant Agrawal > > <...> > >> +/** >> + * @warning >> + * @b EXPERIMENTAL: this API may change, or be removed, without >> prior notice >> + * >> + * demultiplex interface max rx frame length configure >> + * >> + * @param dpdmux_id >> + *    ID of the DPDMUX MC object. >> + * @param max_rx_frame_len >> + *    maximum receive frame length (will be checked to be minimux of >> all dpnis) >> + * >> + */ >> +__rte_experimental >> +int >> +rte_pmd_dpaa2_mux_rx_frame_len(uint32_t dpdmux_id, uint16_t >> max_rx_frame_len); >> + > > PMD specific APIs are not good for portability, and I think better to > reduce them as much as possible. > > Can't this new parameter provided as devarg, instead of a new PMD API? Applications controls it w.r.t jumbo buffers for the dpdmux attached interfaces. So, devargs will not work in this case.