From: Matias Elo <[email protected]> Change include order to enable using PKTIO_MAX_QUEUES in pktio implementations.
Signed-off-by: Matias Elo <[email protected]> --- platform/linux-generic/include/odp_packet_io_internal.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/platform/linux-generic/include/odp_packet_io_internal.h b/platform/linux-generic/include/odp_packet_io_internal.h index 96fb667..fdea65e 100644 --- a/platform/linux-generic/include/odp_packet_io_internal.h +++ b/platform/linux-generic/include/odp_packet_io_internal.h @@ -20,9 +20,6 @@ extern "C" { #include <odp/spinlock.h> #include <odp/ticketlock.h> -#include <odp_packet_socket.h> -#include <odp_packet_netmap.h> -#include <odp_packet_tap.h> #include <odp_classification_datamodel.h> #include <odp_align_internal.h> #include <odp_debug_internal.h> @@ -31,9 +28,13 @@ extern "C" { #include <odp/hints.h> #include <net/if.h> -#define PKTIO_NAME_LEN 256 - #define PKTIO_MAX_QUEUES 64 +#include <odp_packet_socket.h> +#include <odp_packet_netmap.h> +#include <odp_packet_tap.h> + +#define PKTIO_NAME_LEN 256 + /** Determine if a socket read/write error should be reported. Transient errors * that simply require the caller to retry are ignored, the _send/_recv APIs -- 2.6.3 _______________________________________________ lng-odp mailing list [email protected] https://lists.linaro.org/mailman/listinfo/lng-odp
