net/igc: support flow API
[dpdk.git] / drivers / net / igc / igc_flow.h
1 /* SPDX-License-Identifier: BSD-3-Clause
2  * Copyright(c) 2010-2020 Intel Corporation
3  */
4
5 #ifndef _IGC_FLOW_H_
6 #define _IGC_FLOW_H_
7
8 #include <rte_flow_driver.h>
9 #include "igc_ethdev.h"
10
11 #ifdef __cplusplus
12 extern "C" {
13 #endif
14
15 extern const struct rte_flow_ops igc_flow_ops;
16
17 void igc_flow_init(struct rte_eth_dev *dev);
18 int igc_flow_flush(struct rte_eth_dev *dev,
19                 __rte_unused struct rte_flow_error *error);
20
21 #ifdef __cplusplus
22 }
23 #endif
24
25 #endif /* _IGC_FLOW_H_ */