net/mlx5/linux: fix firmware version
[dpdk.git] / drivers / net / cxgbe / cxgbe_flow.h
index 0f75047..9cf2955 100644 (file)
@@ -7,10 +7,12 @@
 
 #include <rte_flow_driver.h>
 #include "cxgbe_filter.h"
+#include "mps_tcam.h"
 #include "cxgbe.h"
 
-#define CXGBE_FLOW_POLL_US  10
-#define CXGBE_FLOW_POLL_CNT 10
+/* Max poll time is 100 * 100msec = 10 sec */
+#define CXGBE_FLOW_POLL_MS  100 /* 100 milliseconds */
+#define CXGBE_FLOW_POLL_CNT 100 /* Max number of times to poll */
 
 struct chrte_fparse {
        int (*fptr)(const void *mask, /* currently supported mask */
@@ -33,10 +35,7 @@ struct rte_flow {
        struct rte_eth_dev *dev;
 };
 
-int
-cxgbe_dev_filter_ctrl(struct rte_eth_dev *dev,
-                     enum rte_filter_type filter_type,
-                     enum rte_filter_op filter_op,
-                     void *arg);
+int cxgbe_dev_flow_ops_get(struct rte_eth_dev *dev,
+                          const struct rte_flow_ops **ops);
 
 #endif /* _CXGBE_FLOW_H_ */