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/bnxt: add Tx TruFlow table config for P4 device
[dpdk.git]
/
drivers
/
net
/
ipn3ke
/
ipn3ke_flow.c
diff --git
a/drivers/net/ipn3ke/ipn3ke_flow.c
b/drivers/net/ipn3ke/ipn3ke_flow.c
index
f3aec97
..
f5867ca
100644
(file)
--- a/
drivers/net/ipn3ke/ipn3ke_flow.c
+++ b/
drivers/net/ipn3ke/ipn3ke_flow.c
@@
-13,11
+13,17
@@
#include <rte_io.h>
#include <rte_debug.h>
#include <rte_ether.h>
#include <rte_io.h>
#include <rte_debug.h>
#include <rte_ether.h>
-#include <
rte_
ethdev_driver.h>
+#include <ethdev_driver.h>
#include <rte_log.h>
#include <rte_malloc.h>
#include <rte_eth_ctrl.h>
#include <rte_tailq.h>
#include <rte_log.h>
#include <rte_malloc.h>
#include <rte_eth_ctrl.h>
#include <rte_tailq.h>
+#include <rte_rawdev.h>
+#include <rte_rawdev_pmd.h>
+#include <rte_bus_ifpga.h>
+#include <ifpga_common.h>
+#include <ifpga_logs.h>
+#include <ifpga_rawdev.h>
#include "ipn3ke_rawdev_api.h"
#include "ipn3ke_flow.h"
#include "ipn3ke_rawdev_api.h"
#include "ipn3ke_flow.h"
@@
-1225,7
+1231,7
@@
ipn3ke_flow_flush(struct rte_eth_dev *dev,
struct ipn3ke_hw *hw = IPN3KE_DEV_PRIVATE_TO_HW(dev);
struct rte_flow *flow, *temp;
struct ipn3ke_hw *hw = IPN3KE_DEV_PRIVATE_TO_HW(dev);
struct rte_flow *flow, *temp;
- TAILQ_FOREACH_SAFE(flow, &hw->flow_list, next, temp) {
+
RTE_
TAILQ_FOREACH_SAFE(flow, &hw->flow_list, next, temp) {
TAILQ_REMOVE(&hw->flow_list, flow, next);
rte_free(flow);
}
TAILQ_REMOVE(&hw->flow_list, flow, next);
rte_free(flow);
}
@@
-1372,4
+1378,3
@@
const struct rte_flow_ops ipn3ke_flow_ops = {
.destroy = ipn3ke_flow_destroy,
.flush = ipn3ke_flow_flush,
};
.destroy = ipn3ke_flow_destroy,
.flush = ipn3ke_flow_flush,
};
-