projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8192d4a
)
IB/usnic: Add struct usnic_transport_spec
author
Upinder Malhi
<umalhi@cisco.com>
Thu, 9 Jan 2014 22:48:06 +0000
(14:48 -0800)
committer
Roland Dreier
<roland@purestorage.com>
Tue, 14 Jan 2014 08:44:41 +0000
(
00:44
-0800)
Add *struct usnic_transport_spec* for passing around transport
specifications.
Signed-off-by: Upinder Malhi <umalhi@cisco.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/infiniband/hw/usnic/usnic_abi.h
patch
|
blob
|
history
diff --git
a/drivers/infiniband/hw/usnic/usnic_abi.h
b/drivers/infiniband/hw/usnic/usnic_abi.h
index
510b7d7
..
dd3e4c6
100644
(file)
--- a/
drivers/infiniband/hw/usnic/usnic_abi.h
+++ b/
drivers/infiniband/hw/usnic/usnic_abi.h
@@
-33,6
+33,15
@@
enum usnic_transport_type {
USNIC_TRANSPORT_MAX = 2,
};
+struct usnic_transport_spec {
+ enum usnic_transport_type trans_type;
+ union {
+ struct {
+ uint16_t port_num;
+ } usnic_roce;
+ };
+};
+
/*TODO: Future - usnic_modify_qp needs to pass in generic filters */
struct usnic_ib_create_qp_resp {
u32 vfid;