numam-dpdk/drivers/net/cnxk/cn10k_rte_flow.h
Kiran Kumar K 8c009b4505 net/cnxk: support flow API
Adding initial version of rte_flow support for cnxk family device.
Supported rte_flow ops are flow_validate, flow_create, flow_destroy,
flow_flush, flow_query, flow_isolate.

Signed-off-by: Kiran Kumar K <kirankumark@marvell.com>
2021-06-30 02:07:05 +02:00

18 lines
541 B
C

/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(C) 2020 Marvell.
*/
#ifndef __CN10K_RTE_FLOW_H__
#define __CN10K_RTE_FLOW_H__
#include <rte_flow_driver.h>
struct rte_flow *cn10k_flow_create(struct rte_eth_dev *dev,
const struct rte_flow_attr *attr,
const struct rte_flow_item pattern[],
const struct rte_flow_action actions[],
struct rte_flow_error *error);
int cn10k_flow_destroy(struct rte_eth_dev *dev, struct rte_flow *flow,
struct rte_flow_error *error);
#endif /* __CN10K_RTE_FLOW_H__ */