History

RDMA/vmw_pvrdma: Report network header type in WC

We should report the network header type in the work completion so that the kernel can infer the right RoCE type headers.

Aditya Sarwade committed 9 years ago

Commit 72f9b081 parent 79364222 files · +5 −2Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/rdma/vmw_pvrdma-abi.h+4−2
@@ -125,7 +125,8 @@ enum pvrdma_wc_flags { · 124 unmodified lines
125 PVRDMA_WC_IP_CSUM_OK = 1 << 3,125 PVRDMA_WC_IP_CSUM_OK = 1 << 3,
126 PVRDMA_WC_WITH_SMAC = 1 << 4,126 PVRDMA_WC_WITH_SMAC = 1 << 4,
127 PVRDMA_WC_WITH_VLAN = 1 << 5,127 PVRDMA_WC_WITH_VLAN = 1 << 5,
128 PVRDMA_WC_FLAGS_MAX = PVRDMA_WC_WITH_VLAN,128 PVRDMA_WC_WITH_NETWORK_HDR_TYPE = 1 << 6,
129 PVRDMA_WC_FLAGS_MAX = PVRDMA_WC_WITH_NETWORK_HDR_TYPE,
129};130};
130 131
131struct pvrdma_alloc_ucontext_resp {132struct pvrdma_alloc_ucontext_resp {
@@ -283,7 +284,8 @@ struct pvrdma_cqe { · 151 unmodified lines
283 __u8 dlid_path_bits;284 __u8 dlid_path_bits;
284 __u8 port_num;285 __u8 port_num;
285 __u8 smac[6];286 __u8 smac[6];
286 __u8 reserved2[7]; /* Pad to next power of 2 (64). */287 __u8 network_hdr_type;
288 __u8 reserved2[6]; /* Pad to next power of 2 (64). */
287};289};
288 290
289#endif /* __VMW_PVRDMA_ABI_H__ */291#endif /* __VMW_PVRDMA_ABI_H__ */

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t