ethdev: fix missing header include
authorBruce Richardson <bruce.richardson@intel.com>
Fri, 15 Jan 2021 11:10:35 +0000 (11:10 +0000)
committerDavid Marchand <david.marchand@redhat.com>
Thu, 21 Jan 2021 09:21:40 +0000 (10:21 +0100)
commitebbd4d33d78555f083033d7bbf5668eecb285b94
tree06946ddea0e204567016c6fdadd8e7d68685df85
parent354e43b1aa082e74239000a42673a8b247787481
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: 7fa96d696f2c ("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>
lib/librte_ethdev/rte_eth_ctrl.h