Skip to content

Commit

Permalink
ethdev: fix missing header include
Browse files Browse the repository at this point in the history
[ upstream commit ebbd4d3 ]

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: 7fa96d6 ("ethdev: unification of flow types")

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>
  • Loading branch information
bruce-richardson authored and cpaelzer committed Feb 3, 2021
1 parent a2758e7 commit bde221c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/librte_ethdev/rte_eth_ctrl.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bde221c

Please sign in to comment.