Re: [dpdk-dev] [v2] telemetry: fix json output buffer size
From: Gowrishankar Muthukrishnan <hidden>
Date: 2021-09-30 09:00:42
From: Gowrishankar Muthukrishnan <hidden>
Date: 2021-09-30 09:00:42
quoted
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