examples/l2fwd-cat: fix build on FreeBSD
authorBruce Richardson <bruce.richardson@intel.com>
Tue, 9 Apr 2019 10:55:38 +0000 (11:55 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 17 Apr 2019 16:10:34 +0000 (18:10 +0200)
commitd51e5ec7b1a52e841f006794a2451266c3209b50
tree8926b7a00582ca795910a427ae3467d9592e81f1
parent9d03815f56876f16997bc7136029842903ee842b
examples/l2fwd-cat: fix build on FreeBSD

The definition of CPU_AND differs from Linux to BSD, so we need to use
RTE_CPU_AND instead.

Fixes: f6baccbc2b3b ("examples/l2fwd-cat: add sample application for PQoS CAT and CDP")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Reviewed-by: David Marchand <david.marchand@redhat.com>
Acked-by: Luca Boccassi <bluca@debian.org>
examples/l2fwd-cat/cat.c