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: separate Tx function implementations to new file
[dpdk.git]
/
drivers
/
net
/
mlx5
/
mlx5_utils.h
diff --git
a/drivers/net/mlx5/mlx5_utils.h
b/drivers/net/mlx5/mlx5_utils.h
index
6f25768
..
5088c95
100644
(file)
--- a/
drivers/net/mlx5/mlx5_utils.h
+++ b/
drivers/net/mlx5/mlx5_utils.h
@@
-29,9
+29,11
@@
extern int mlx5_logtype;
extern int mlx5_logtype;
+#define MLX5_NET_LOG_PREFIX "mlx5_net"
+
/* Generic printf()-like logging macro with automatic line feed. */
#define DRV_LOG(level, ...) \
/* Generic printf()-like logging macro with automatic line feed. */
#define DRV_LOG(level, ...) \
- PMD_DRV_LOG_(level, mlx5_logtype, MLX5_
DRIVER_NAME
, \
+ PMD_DRV_LOG_(level, mlx5_logtype, MLX5_
NET_LOG_PREFIX
, \
__VA_ARGS__ PMD_DRV_LOG_STRIP PMD_DRV_LOG_OPAREN, \
PMD_DRV_LOG_CPAREN)
__VA_ARGS__ PMD_DRV_LOG_STRIP PMD_DRV_LOG_OPAREN, \
PMD_DRV_LOG_CPAREN)
@@
-274,7
+276,7
@@
struct mlx5_hlist;
*/
struct mlx5_hlist_entry {
LIST_ENTRY(mlx5_hlist_entry) next; /* entry pointers in the list. */
*/
struct mlx5_hlist_entry {
LIST_ENTRY(mlx5_hlist_entry) next; /* entry pointers in the list. */
- uint
64_t key; /* user defined 'key', could be the hash signature
. */
+ uint
32_t idx; /* Bucket index the entry belongs to
. */
uint32_t ref_cnt; /* Reference count. */
};
uint32_t ref_cnt; /* Reference count. */
};