> On Mar 15, 2017, at 9:54 AM, Pascal Mazon <pascal.ma...@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.ma...@6wind.com> > Acked-by: Olga Shern <ol...@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