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/bnx2x: replace macro with static function
[dpdk.git]
/
drivers
/
net
/
mlx4
/
mlx4.h
diff --git
a/drivers/net/mlx4/mlx4.h
b/drivers/net/mlx4/mlx4.h
index
433aa3b
..
4c7505e
100644
(file)
--- a/
drivers/net/mlx4/mlx4.h
+++ b/
drivers/net/mlx4/mlx4.h
@@
-51,6
+51,9
@@
/* Maximum number of simultaneous VLAN filters supported. See above. */
#define MLX4_MAX_VLAN_IDS 127
/* Maximum number of simultaneous VLAN filters supported. See above. */
#define MLX4_MAX_VLAN_IDS 127
+/* Request send completion once in every 64 sends, might be less. */
+#define MLX4_PMD_TX_PER_COMP_REQ 64
+
/* Maximum number of Scatter/Gather Elements per Work Request. */
#ifndef MLX4_PMD_SGE_WR_N
#define MLX4_PMD_SGE_WR_N 4
/* Maximum number of Scatter/Gather Elements per Work Request. */
#ifndef MLX4_PMD_SGE_WR_N
#define MLX4_PMD_SGE_WR_N 4
@@
-80,6
+83,9
@@
#define MLX4_PMD_SOFT_COUNTERS 1
#endif
#define MLX4_PMD_SOFT_COUNTERS 1
#endif
+/* Alarm timeout. */
+#define MLX4_ALARM_TIMEOUT_US 100000
+
enum {
PCI_VENDOR_ID_MELLANOX = 0x15b3,
};
enum {
PCI_VENDOR_ID_MELLANOX = 0x15b3,
};
@@
-90,7
+96,7
@@
enum {
PCI_DEVICE_ID_MELLANOX_CONNECTX3PRO = 0x1007,
};
PCI_DEVICE_ID_MELLANOX_CONNECTX3PRO = 0x1007,
};
-#define MLX4_DRIVER_NAME "
librte_pmd
_mlx4"
+#define MLX4_DRIVER_NAME "
net
_mlx4"
/* Bit-field manipulation. */
#define BITFIELD_DECLARE(bf, type, size) \
/* Bit-field manipulation. */
#define BITFIELD_DECLARE(bf, type, size) \