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/mlx5: fix tunnel offload private items location
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_devx.c
diff --git
a/drivers/net/mlx5/mlx5_devx.c
b/drivers/net/mlx5/mlx5_devx.c
index
5c940ed
..
531a81d
100644
(file)
--- a/
drivers/net/mlx5/mlx5_devx.c
+++ b/
drivers/net/mlx5/mlx5_devx.c
@@
-20,7
+20,8
@@
#include "mlx5.h"
#include "mlx5_common_os.h"
#include "mlx5.h"
#include "mlx5_common_os.h"
-#include "mlx5_rxtx.h"
+#include "mlx5_tx.h"
+#include "mlx5_rx.h"
#include "mlx5_utils.h"
#include "mlx5_devx.h"
#include "mlx5_flow.h"
#include "mlx5_utils.h"
#include "mlx5_devx.h"
#include "mlx5_flow.h"
@@
-1112,7
+1113,7
@@
mlx5_txq_devx_obj_new(struct rte_eth_dev *dev, uint16_t idx)
txq_data->wqe_pi = 0;
txq_data->wqe_comp = 0;
txq_data->wqe_thres = txq_data->wqe_s / MLX5_TX_COMP_THRESH_INLINE_DIV;
txq_data->wqe_pi = 0;
txq_data->wqe_comp = 0;
txq_data->wqe_thres = txq_data->wqe_s / MLX5_TX_COMP_THRESH_INLINE_DIV;
- txq_data->qp_db =
txq_obj->sq_obj.db_rec
;
+ txq_data->qp_db =
&txq_obj->sq_obj.db_rec[MLX5_SND_DBR]
;
*txq_data->qp_db = 0;
txq_data->qp_num_8s = txq_obj->sq_obj.sq->id << 8;
/* Change Send Queue state to Ready-to-Send. */
*txq_data->qp_db = 0;
txq_data->qp_num_8s = txq_obj->sq_obj.sq->id << 8;
/* Change Send Queue state to Ready-to-Send. */