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 13E3241BB3; Fri, 3 Feb 2023 01:28:10 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D83A240DDA; Fri, 3 Feb 2023 01:28:09 +0100 (CET) Received: from mail-pl1-f172.google.com (mail-pl1-f172.google.com [209.85.214.172]) by mails.dpdk.org (Postfix) with ESMTP id 55EED40A79 for ; Fri, 3 Feb 2023 01:28:08 +0100 (CET) Received: by mail-pl1-f172.google.com with SMTP id m2so3677823plg.4 for ; Thu, 02 Feb 2023 16:28:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=lulIn1wnVBJEJALzXH1YL6l/yFwCrB0eGtw/jkC6QeU=; b=nfXXN3mWqv6CaayF9I0PRxpV3IZOTijCOz9xnJ7TcvQaX8cReLZfZNJJj5iqTFUhOT MB3coN2Us4M6V5ey6luILmei9MjMC+51mhNJZ8klXk5+ra79Pi0E2XOgI0MrW6NYVYch 848NsuYg/shDZ4fAw0c/8vP3YMpkIVCzAAciWtJkXSclpsPymAhj6wrC7cEPHm32beNq Dc1xc6VLf+3VMA/PTh4ndN91t6CM5KexzgyR+0flOK2lHfN5FD6luk8kklwwrWL+WVvY GZYkR+1NPnGQqRhdHF9V73rxOB6ZPzs4JuWS3zxVZYdMgsIpUkRYJwvNNa7G0HGNixU+ aQhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lulIn1wnVBJEJALzXH1YL6l/yFwCrB0eGtw/jkC6QeU=; b=2z0fObp+ofz75xJ45UaqZmpk5V/EXPhMIZfR3xDQWskqMomPpxxfZMBAtKjBVKuWxQ 0TFNJ+JvimlEYhZ6YsaL9Icqt7OdBrpy5OaOhe+DybHCWJFK1QwMXxdvIVwtYnsT5Thi MTG2ZtupXAIcATQMZ/UDKB15yUWrgeOT6R8hSgLJ6J8CubytRF+8GhKCja/TRGywK1AI FvZ9/wvfgbF+8SzntjiqBFC8wbqx6JcQXZw34KjrtG07OSZ3SXfOxlYwkaEohLK9Unuz 14J+Os40dEXGFgF0QUSsFKAiMPomH2jh5PBPSKV6ViYnNXfLRA3Wb0g5FpR5E/Dy1HkH znrg== X-Gm-Message-State: AO0yUKWyaEysJljp76tCn0qh2dCAJkyCbobSIRnwBRzRm1t0914MWt0e tmHnJ1clNhFWa+OTQTlwuo+05A== X-Google-Smtp-Source: AK7set9qKcn+b1rDUt/y0pRFOQgOgNEUO3fn0DYb082//pvp65pPEdavekYZIql7MaD9UDSbqdbUuw== X-Received: by 2002:a17:902:d481:b0:196:1a56:b1d3 with SMTP id c1-20020a170902d48100b001961a56b1d3mr9229255plg.11.1675384087516; Thu, 02 Feb 2023 16:28:07 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id h12-20020a170902eecc00b00194bf875ed8sm257936plb.139.2023.02.02.16.28.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Feb 2023 16:28:07 -0800 (PST) Date: Thu, 2 Feb 2023 16:28:03 -0800 From: Stephen Hemminger To: Shivah Shankar Shankar Narayan Rao Cc: Jerin Jacob Kollanukkaran , "dev@dpdk.org" , Thomas Monjalon , Bruce Richardson , Srikanth Yalavarthi , "ferruh.yigit@xilinx.com" , "ajit.khaparde@broadcom.com" , "aboyer@pensando.io" , "andrew.rybchenko@oktetlabs.ru" , "beilei.xing@intel.com" , "chas3@att.com" , "chenbo.xia@intel.com" , "ciara.loftus@intel.com" , Devendra Singh Rawat , "ed.czeck@atomicrules.com" , "evgenys@amazon.com" , "grive@u256.net" , "g.singh@nxp.com" , "zhouguoyang@huawei.com" , "haiyue.wang@intel.com" , Harman Kalra , "heinrich.kuhn@corigine.com" , "hemant.agrawal@nxp.com" , "hyonkim@cisco.com" , "igorch@amazon.com" , Igor Russkikh , "jgrajcia@cisco.com" , "jasvinder.singh@intel.com" , "jianwang@trustnetic.com" , "jiawenwu@trustnetic.com" , "jingjing.wu@intel.com" , "johndale@cisco.com" , "john.miller@atomicrules.com" , "linville@tuxdriver.com" , "keith.wiles@intel.com" , Kiran Kumar Kokkilagadda , "oulijun@huawei.com" , Liron Himi , "longli@microsoft.com" , "mw@semihalf.com" , "spinler@cesnet.cz" , "matan@nvidia.com" , "matt.peters@windriver.com" , "maxime.coquelin@redhat.com" , "mk@semihalf.com" , "humin29@huawei.com" , Pradeep Kumar Nalla , Nithin Kumar Dabilpuram , "qiming.yang@intel.com" , "qi.z.zhang@intel.com" , Radha Chintakuntla , "rahul.lakkireddy@chelsio.com" , Rasesh Mody , "rosen.xu@intel.com" , "sachin.saxena@oss.nxp.com" , Satha Koteswara Rao Kottidi , Shahed Shaikh , "shaibran@amazon.com" , "shepard.siegel@atomicrules.com" , "asomalap@amd.com" , "somnath.kotur@broadcom.com" , "sthemmin@microsoft.com" , "steven.webster@windriver.com" , Sunil Kumar Kori , "mtetsuyah@gmail.com" , Veerasenareddy Burru , "viacheslavo@nvidia.com" , "xiao.w.wang@intel.com" , "cloud.wangxiaoyun@huawei.com" , "yisen.zhuang@huawei.com" , "yongwang@vmware.com" , "xuanziyang2@huawei.com" , Prasun Kapoor , Nadav Haklai , Satananda Burla , Narayana Prasad Raju Athreya , Akhil Goyal , "mdr@ashroe.eu" , "dmitry.kozliuk@gmail.com" , "anatoly.burakov@intel.com" , "cristian.dumitrescu@intel.com" , "honnappa.nagarahalli@arm.com" , "mattias.ronnblom@ericsson.com" , "ruifeng.wang@arm.com" , "drc@linux.vnet.ibm.com" , "konstantin.ananyev@intel.com" , "olivier.matz@6wind.com" , "jay.jayatheerthan@intel.com" , Ashwin Sekhar T K , Pavan Nikhilesh Bhagavatula , "eagostini@nvidia.com" , Derek Chickles , Parijat Shukla , Anup Prabhu , Prince Takkar Subject: Re: [dpdk-dev] [PATCH v1 01/12] mldev: introduce machine learning device library Message-ID: <20230202162803.3d780d6c@hermes.local> In-Reply-To: References: <20220803132839.2747858-2-jerinj@marvell.com> <20221114120238.2143832-1-jerinj@marvell.com> <20221114120238.2143832-2-jerinj@marvell.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 On Wed, 1 Feb 2023 13:34:41 +0000 Shivah Shankar Shankar Narayan Rao wrote: > +#define RTE_ML_STR_MAX 128 > +/**< Maximum length of name string */ Fixed length strings do create long term technical issues. But this is big enough, I doubt it matters. You may want to make sure that string is always at the end of the struct to reduce cache foot print. I.e put important stuff first