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
bus/pci: remove useless link dependency on ethdev
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_defs.h
diff --git
a/drivers/net/mlx5/mlx5_defs.h
b/drivers/net/mlx5/mlx5_defs.h
index
8c118d5
..
180122d
100644
(file)
--- a/
drivers/net/mlx5/mlx5_defs.h
+++ b/
drivers/net/mlx5/mlx5_defs.h
@@
-28,7
+28,7
@@
* Request TX completion every time descriptors reach this threshold since
* the previous request. Must be a power of two for performance reasons.
*/
* Request TX completion every time descriptors reach this threshold since
* the previous request. Must be a power of two for performance reasons.
*/
-#define MLX5_TX_COMP_THRESH 32
+#define MLX5_TX_COMP_THRESH 32
u
/*
* Request TX completion every time the total number of WQEBBs used for inlining
/*
* Request TX completion every time the total number of WQEBBs used for inlining
@@
-37,6
+37,13
@@
*/
#define MLX5_TX_COMP_THRESH_INLINE_DIV (1 << 3)
*/
#define MLX5_TX_COMP_THRESH_INLINE_DIV (1 << 3)
+/*
+ * Maximal amount of normal completion CQEs
+ * processed in one call of tx_burst() routine.
+ */
+#define MLX5_TX_COMP_MAX_CQE 2u
+
+
/* Size of per-queue MR cache array for linear search. */
#define MLX5_MR_CACHE_N 8
/* Size of per-queue MR cache array for linear search. */
#define MLX5_MR_CACHE_N 8
@@
-51,6
+58,10
@@
#define MLX5_PMD_SOFT_COUNTERS 1
#endif
#define MLX5_PMD_SOFT_COUNTERS 1
#endif
+/* Switch port ID parameters for bonding configurations. */
+#define MLX5_PORT_ID_BONDING_PF_MASK 0xf
+#define MLX5_PORT_ID_BONDING_PF_SHIFT 0xf
+
/* Alarm timeout. */
#define MLX5_ALARM_TIMEOUT_US 100000
/* Alarm timeout. */
#define MLX5_ALARM_TIMEOUT_US 100000