diff options
author | zhenwei pi <pizhenwei@bytedance.com> | 2024-08-22 14:52:21 +0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2024-08-23 11:42:38 -0300 |
commit | c87c5f47ff72a14001c982d3bc58d7b98ca746c3 (patch) | |
tree | 3bfecf8dc93141e5ace8792df136d55600874a77 /io_uring/waitid.h | |
parent | ae46d3fc17f960dc2d1399acdc488e27638a71a7 (diff) |
RDMA/rxe: Use sizeof instead of hard code number
Use 'sizeof(union rdma_network_hdr)' instead of hard code GRH length
for GSI and UD.
Link: https://patch.msgid.link/r/20240822065223.1117056-2-pizhenwei@bytedance.com
Signed-off-by: zhenwei pi <pizhenwei@bytedance.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'io_uring/waitid.h')
0 files changed, 0 insertions, 0 deletions