[dpdk-dev] [PATCH v1 01/12] mldev: introduce machine learning device library

Jerin Jacob jerinjacobk at gmail.com
Fri Feb 3 11:03:27 CET 2023


On Fri, Feb 3, 2023 at 5:58 AM Stephen Hemminger
<stephen at networkplumber.org> wrote:
>
> On Wed, 1 Feb 2023 13:34:41 +0000
> Shivah Shankar Shankar Narayan Rao <sshankarnara at marvell.com> 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

Yeah. fastpath stuff first in fast path structures.


More information about the dev mailing list