ethdev: fix missing header include

The define for RTE_ETH_FLOW_MAX is defined in rte_ethdev.h, so that
header should be included in rte_eth_ctrl.h to allow it to be compiled
independently.

Fixes: 7fa96d696f ("ethdev: unification of flow types")
Cc: stable@dpdk.org

Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: David Marchand <david.marchand@redhat.com>
This commit is contained in:
Bruce Richardson 2021-01-15 11:10:35 +00:00 committed by David Marchand
parent 354e43b1aa
commit ebbd4d33d7

View File

@ -9,6 +9,7 @@
#include <rte_common.h>
#include <rte_ether.h>
#include "rte_flow.h"
#include "rte_ethdev.h"
/**
* @deprecated Please use rte_flow API instead of this legacy one.