[dpdk-dev] [PATCH] cmdline: replace FreeBSD ifdef for IP address parsing
David Marchand
david.marchand at redhat.com
Fri Nov 8 11:18:13 CET 2019
On Fri, Nov 8, 2019 at 9:44 AM Olivier Matz <olivier.matz at 6wind.com> wrote:
>
> On Wed, Nov 06, 2019 at 01:09:43PM +0100, Thomas Monjalon wrote:
> > The constants like AF_INET are in sys/socket.h in FreeBSD.
> > The #ifdef macro __FreeBSD__ is replaced with RTE_EXEC_ENV_FREEBSD
> > in order to be consistent across DPDK files, and allow to grep
> > for EXEC_ENV among other benefits.
> >
> > Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
On 06-Nov-19 12:09 PM, Thomas Monjalon wrote:
> The constants like AF_INET are in sys/socket.h in FreeBSD.
> The #ifdef macro __FreeBSD__ is replaced with RTE_EXEC_ENV_FREEBSD
> in order to be consistent across DPDK files, and allow to grep
> for EXEC_ENV among other benefits.
>
> Signed-off-by: Thomas Monjalon <thomas at monjalon.net>
Acked-by: Anatoly Burakov <anatoly.burakov at intel.com>
> Acked-by: Olivier Matz <olivier.matz at 6wind.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list