[dpdk-dev] [PATCH v5 2/4] net/tap: add preliminary support for rte_flow

Wiles, Keith keith.wiles at intel.com
Tue Mar 21 16:35:51 CET 2017


> On Mar 15, 2017, at 9:54 AM, Pascal Mazon <pascal.mazon at 6wind.com> wrote:
> 
> The flow API provides the ability to classify packets received by a tap
> netdevice.
> 
> This patch only implements skeleton functions for flow API support, no
> patterns are supported yet.
> 
> Signed-off-by: Pascal Mazon <pascal.mazon at 6wind.com>
> Acked-by: Olga Shern <olgas at mellanox.com>
> +#ifndef _TAP_FLOW_H_
> +#define _TAP_FLOW_H_
> +
> +#include <rte_flow.h>
> +#include <rte_flow_driver.h>

Missing the C++ ifdefs.

> +
> +int tap_dev_filter_ctrl(struct rte_eth_dev *dev,
> +			enum rte_filter_type filter_type,
> +			enum rte_filter_op filter_op,
> +			void *arg);
> +int tap_flow_flush(struct rte_eth_dev *dev, struct rte_flow_error *error);
> +
> +#endif /* _TAP_FLOW_H_ */
> -- 
> 2.8.0.rc0
> 

Regards,
Keith



More information about the dev mailing list