Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\rdma\ib_verbs.h Create Date:2022-07-28 07:14:22
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:rdma_gid_attr_network_type

Proto:static inline enum rdma_network_type rdma_gid_attr_network_type(const struct ib_gid_attr *attr)

Type:enum rdma_network_type

Parameter:

TypeParameterName
const struct ib_gid_attr *attr
220  If gid_type == If link layer is Ethernet, this is RoCE V1 Then Return RDMA_NETWORK_IB
223  If Note that we must __force cast these to unsigned long to make sparse happy,* since all of the endian-annotated types are fixed size regardless of arch. Then Return RDMA_NETWORK_IPV4
225  Else Return RDMA_NETWORK_IPV6