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 15926A0C45; Thu, 16 Sep 2021 15:53:53 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 981864069E; Thu, 16 Sep 2021 15:53:52 +0200 (CEST) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 8DEFB40151 for ; Thu, 16 Sep 2021 15:53:51 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10109"; a="220681600" X-IronPort-AV: E=Sophos;i="5.85,298,1624345200"; d="scan'208";a="220681600" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Sep 2021 06:53:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,298,1624345200"; d="scan'208";a="583668663" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga004.jf.intel.com with ESMTP; 16 Sep 2021 06:53:50 -0700 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 16 Sep 2021 06:53:49 -0700 Received: from fmsmsx605.amr.corp.intel.com (10.18.126.85) by fmsmsx609.amr.corp.intel.com (10.18.126.89) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Thu, 16 Sep 2021 06:53:49 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Thu, 16 Sep 2021 06:53:49 -0700 Received: from NAM10-BN7-obe.outbound.protection.outlook.com (104.47.70.102) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.12; Thu, 16 Sep 2021 06:53:48 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kfM5nftOA3Gt8mByhmUipD8Jgz7zm0jOQ3jzf7Efp+o1wFWy7+j968GiY/yuaCREIYPQKzlKnndEw7D1x30ETWzodoqHchCUYy6IA8BKlC1D5Te5LlTBnHHP7NyQDGfo4oJB/+HjKdTJVgflNLinWa1rq4kVkO5wJEppOKzWjPiuJjG58LXXkmhyqF17BtpciscmbleB8NfhuRK4SfIgpkkYeN27SucfwVoycpT0y0FauHBfELsoV4M05xckJsbxgo5eMz/2LVMsC7qE/oMcMhqVSTNX2YyIWDggN8ZXhIs9WJJfPh9CPLl48938kESFVj1sweCech2cCCLCmdO77g== 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; bh=5h1kY+Oul2VgU3Nxu7uKLDd+DXQBAOGIPIA7nMZPpEk=; b=YEeEuu7XP6/I46+503ltZpWO7jIBwYyKDhrfgLju/ZSzF1DXxEUBtuwEJJSSMOupDTeMDpwmlsS1i5N8ZEHj/XE36NBchjIDaTuTTCTx1vrqPu1lOXK/nzA5gQ0E4V5558cbzqrtpg5vIr+tf3jG1D3BgJG//tSOad4ZT8E5GMta4IILTAo5MpjCBs5xLebO/HGpEkSSxJySzK34VEttaTNb+F/dfeJNh2Ur64dtWMj5souxAbRqF0aNq+gFwZti2ZRsTiGJUk1VLQEpNYyLZ4xTqxMyLeebHwQfmm2w9aaOisB7YwWfC/LtMOq+gCmAvJnc1x6T96bDpR+yDB+X8w== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=5h1kY+Oul2VgU3Nxu7uKLDd+DXQBAOGIPIA7nMZPpEk=; b=g7ekG/gJsbmKmTH6K+i5UnLgc0Jq6wCRxKbhTNVwdYw+fzxpyuQK38BJX+PbCASMCrtYIcCRa2/6IwrrXXAAM4If3V3Mkfd9YFNFWJGa6j7TxSup9JtGrgbLgYznNYCCQs8And7/o33xU6pZniPAhuL+SrfSZ+WXJ//R0cjx20U= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB4838.namprd11.prod.outlook.com (2603:10b6:510:40::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.14; Thu, 16 Sep 2021 13:53:42 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4523.016; Thu, 16 Sep 2021 13:53:42 +0000 To: Ajit Khaparde CC: Randy Schacher , Venkat Duvvuru , References: <20210908050643.9989-1-venkatkumar.duvvuru@broadcom.com> <20210911153041.28510-1-venkatkumar.duvvuru@broadcom.com> <20210911153041.28510-12-venkatkumar.duvvuru@broadcom.com> From: Ferruh Yigit X-User: ferruhy Message-ID: <1121f563-88d7-0a23-1bf9-2dd36c51c4db@intel.com> Date: Thu, 16 Sep 2021 14:53:36 +0100 In-Reply-To: <20210911153041.28510-12-venkatkumar.duvvuru@broadcom.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-ClientProxiedBy: DB8PR09CA0026.eurprd09.prod.outlook.com (2603:10a6:10:a0::39) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB8PR09CA0026.eurprd09.prod.outlook.com (2603:10a6:10:a0::39) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4523.16 via Frontend Transport; Thu, 16 Sep 2021 13:53:41 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: b554b78c-2f04-4e55-cdef-08d9791964a4 X-MS-TrafficTypeDiagnostic: PH0PR11MB4838: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:568; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: LRQnvfv1qTiudLwkt1yqh2tFsd5HE0+OIM/KNnU9eQbo91F0uSNG55tOOhCR1hTJqYg8+ORpEnpnVPCU3XkjpLGurzyZvvq1iWXijVpQ6iDdZf8foWk1vUFby5WL151wAGC6q+5+Dphaw5eWVZZie3rYxE2XU1TTczSCz8+Ihamz6WVneODZPo4Vy2nusaru9dfrOdszo1BQLzIdFcyJBcfJlbzt2O95keHaSqZM2yJmd2h7iAlQKkudUbV3PhQQuaAoU8yQfzpNa3CCNnrcBFBA+ED7mNNXp49JM0kvLR2XPxi5v0BBrJD7FybYzQtvdLld/R8M7Cq4lIq6hKxEwDBCGLZ/qavIZ8jsICzq9e5yMt/nAtsCDo5QcdjJGBbTL8yyVGoYSwfXfSyZxjzXHXpuO6LkNm6zsa3peEKnHG59dYBteTOpwwbyBfDN6kwIoHmddChBQIMLlygKftekK021YZNGGeaZK15iCeijMTFovttAxBG2TyyxG4DDBjhaa+GfYq7owTufxEI+MfmB1hP5gYXuBRC6n/OImKjBrLkS1iNhAVrwxkwqthkPc/a3eYsukUExeYsAdRP+Nc+Msw1kB5c2y8EOJOo7SH+Q6P0fKGQ5Qaz2bJb3aeg3AONrUMEkQOTcGkPdcUS9qZfyX0qbO32KWoqkhHEhj0ZQ+wIxD5AUR3k8NwDz2PJZp1fQ 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:(4636009)(346002)(396003)(136003)(366004)(376002)(39860400002)(8936002)(83380400001)(4744005)(6666004)(2906002)(6916009)(53546011)(66476007)(31696002)(66946007)(26005)(38100700002)(44832011)(186003)(4326008)(36756003)(31686004)(66556008)(16576012)(316002)(86362001)(478600001)(956004)(5660300002)(2616005)(8676002)(54906003)(6486002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?MENudE84RmNyUWRQVGpPQkNSTHRjSWhmdE14Wll5Y3FrSkduOHhNZkJOcTRG?= =?utf-8?B?amFuNlZtZEZ3bzhmeFVBVnM1VHN6RHV1WXNhY2hJSWhKaG5PNzFwUjM3Vkor?= =?utf-8?B?aFpkTkxjNWlpeGFaQmg3SFFoWDRZNTJOK0duKzVNY05EbDdQUEhmUWR0b1VN?= =?utf-8?B?QTY4bHRlUWU4WFlROEhWbHhMeHEwUytvN3Zud3poSllLZHM3a3RnU2VBbWho?= =?utf-8?B?TGhjbTZPY3Q1QmVuL2NJWDF3QVlPNjJqaWNmMTBNWHNDSE43dFNQQlFOWG1r?= =?utf-8?B?dTJqckVEbjhrR0hqWVRvMHVzazFmdG1wQkx6Tm9iUHBlcm9vTmxheENDQS9U?= =?utf-8?B?V0RULzd4SVNiYmhVaWhpRW8yMk0zQ2hDYnhNe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jZi93bmdIcFJ3ODlPSGJMSjR5eERUbTh3bFhv?= =?utf-8?B?dWVYUHlsL3BUSlJ5ZUZBdXJVNy9tYVJCaElLa05OU0NKbjhYVDhzOERaQjFj?= =?utf-8?B?UFV0Y3ZyeHpMTHVLcHZJS3R2bk90UkdtQ01TUFpPbVM3Y3p6NUdBRWJJWHcw?= =?utf-8?B?a1lHZ2E5Z0VnS2NDekw0NEt6NVhsT3BPZzI2V0NRMndKWVI1UlpwYjE0VDBN?= =?utf-8?B?MnpEN0U0STdqM05IRlhFYWpDaTh2SGt5WTcwSVQyL3Q0YnExcHR1dE5XSWJQ?= =?utf-8?B?WmhWbWV0TnpBd1lkWXR6NDhRcTdKdVZpUnpjN2diTFpFRzJURVpXRm9jTzc4?= =?utf-8?B?blRCbjJMMlFhMU9TQ2I1dFdCUElJL3ZxM3daYXhodmZnM3NKODYvRjhEcUY0?= =?utf-8?B?a1ROVkFDZ2szZXk1T0hQYjREZjhDSmVwNlJMNG5EVkh5RXFLRE9MNmRYUStT?= =?utf-8?Q?TGeYfPO6vGy8avqkDSBtGHqG+mDRFRliQvhjXDu?= X-MS-Exchange-CrossTenant-Network-Message-Id: b554b78c-2f04-4e55-cdef-08d9791964a4 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2021 13:53:42.0267 (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: v1JS/a5xAYXXdXDaVuhc08hrCQasnk5beGIMYuAU2xNALBUtuOjDmiauIl32fJdi3eomH/YScTE+OLWOjcv7Ig== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB4838 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 11/13] net/bnxt: dynamically allocate space for EM defrag function 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 Sender: "dev" On 9/11/2021 4:30 PM, Venkat Duvvuru wrote: > From: Randy Schacher > > Alter defrag function to dynamically allocate and delete > free_list and adj_list buffers. > Can you explain a little more the reasoning/motivation/impact of the change, why buffers are dynamically allocated, is there any impact the user application will observe after this? > Signed-off-by: Randy Schacher > Reviewed-by: Peter Spreadborough <...>