Re: [dpdk-dev] [PATCH v3 06/16] net/mlx5: fix dynamic mbuf offset lookup check

2020-11-03 Thread Slava Ovsiienko
> -Original Message- > From: Thomas Monjalon > Sent: Tuesday, November 3, 2020 2:14 > To: dev@dpdk.org > Cc: ferruh.yi...@intel.com; david.march...@redhat.com; > bruce.richard...@intel.com; olivier.m...@6wind.com; > andrew.rybche...@oktetlabs.ru; jer...@marvell.com; Slava Ovsiienko > ; sta

[dpdk-dev] [PATCH v3 06/16] net/mlx5: fix dynamic mbuf offset lookup check

2020-11-02 Thread Thomas Monjalon
The functions rte_mbuf_dynfield_lookup() and rte_mbuf_dynflag_lookup() can return an offset starting with 0 or a negative error code. In reality the first offsets are probably reserved forever, but for the sake of strict API compliance, the checks which considered 0 as an error are fixed. Fixes: