projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
IB/mlx4: Use multiple WQ blocks to post smaller send WQEs
[deliverable/linux.git]
/
include
/
linux
/
mlx4
/
device.h
diff --git
a/include/linux/mlx4/device.h
b/include/linux/mlx4/device.h
index 4210ac4a8bcd8aee467c03e7ac109392936e0761..6cdf813cd47883b5c38b674003ea650c3a532709 100644
(file)
--- a/
include/linux/mlx4/device.h
+++ b/
include/linux/mlx4/device.h
@@
-133,6
+133,11
@@
enum {
MLX4_STAT_RATE_OFFSET = 5
};
+static inline u64 mlx4_fw_ver(u64 major, u64 minor, u64 subminor)
+{
+ return (major << 32) | (minor << 16) | subminor;
+}
+
struct mlx4_caps {
u64 fw_ver;
int num_ports;
This page took
0.023958 seconds
and
5
git commands to generate.