[dpdk-dev] [PATCH v5] mbuf: allow dynamic flags to be used by secondary process

Olivier Matz olivier.matz at 6wind.com
Wed Nov 4 17:26:54 CET 2020


On Wed, Nov 04, 2020 at 08:20:00AM -0800, Stephen Hemminger wrote:
> The dynamic flag management is broken if rte_mbuf_dynflag_lookup()
> is done in a secondary process because the local pointer to
> the memzone is not ever initialized.
> 
> Fix it by using the same checks as dynfield_register().
> I.e if shared memory zone has not been looked up already,
> then discover it.
> 
> Fixes: 4958ca3a443a ("mbuf: support dynamic fields and flags")
> Cc: olivier.matz at 6wind.com
> Signed-off-by: Stephen Hemminger <stephen at networkplumber.org>

Acked-by: Olivier Matz <olivier.matz at 6wind.com>

Thanks!


More information about the dev mailing list