[dpdk-dev] [v2] telemetry: fix json output buffer size
Gowrishankar Muthukrishnan
gmuthukrishn at marvell.com
Thu Sep 30 11:00:35 CEST 2021
> >Also, I propose if we can have platform defined upper limits (esp
> >MAX_CMD_LEN, MAX_SINGLE_STRING_LEN etc) so that, we need not revisit
> >lib/telemetry for platform needs (and I don't think one size fits all
> >platform, may be excess too).
> >Thoughts ?
>
> I am not sure why it is needed to have limits defined per platform - can you
> explain further about why it is necessary?
>
Mainly, for the endpoint in driver. In case, if the endpoint data is bigger than MAX_SINGLE_STRING_LEN
at the worst case, endpoint will not work correctly.
Thanks,
Gowrishankar
More information about the dev
mailing list