git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
net/cxgbe: simplify Rx payload buffer size posting
[dpdk.git]
/
drivers
/
net
/
cxgbe
/
cxgbe_flow.h
diff --git
a/drivers/net/cxgbe/cxgbe_flow.h
b/drivers/net/cxgbe/cxgbe_flow.h
index
0f75047
..
9cf2955
100644
(file)
--- a/
drivers/net/cxgbe/cxgbe_flow.h
+++ b/
drivers/net/cxgbe/cxgbe_flow.h
@@
-7,10
+7,12
@@
#include <rte_flow_driver.h>
#include "cxgbe_filter.h"
#include <rte_flow_driver.h>
#include "cxgbe_filter.h"
+#include "mps_tcam.h"
#include "cxgbe.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 */
struct chrte_fparse {
int (*fptr)(const void *mask, /* currently supported mask */
@@
-33,10
+35,7
@@
struct rte_flow {
struct rte_eth_dev *dev;
};
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_ */
#endif /* _CXGBE_FLOW_H_ */