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/ice: enable Rx timestamp on flex descriptor
[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
300d8f9
..
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);
}
@@
-1360,6
+1366,7
@@
int ipn3ke_flow_init(void *dev)
IPN3KE_CLF_EM_NUM,
0,
0xFFFFFFFF);
IPN3KE_CLF_EM_NUM,
0,
0xFFFFFFFF);
+ IPN3KE_AFU_PMD_DEBUG("IPN3KE_CLF_EN_NUM: %x\n", hw->flow_max_entries);
hw->flow_num_entries = 0;
return 0;
hw->flow_num_entries = 0;
return 0;
@@
-1371,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,
};
-