diff options
author | Boshi Yu <boshiyu@linux.alibaba.com> | 2024-12-11 05:09:01 +0300 |
---|---|---|
committer | Leon Romanovsky <leon@kernel.org> | 2024-12-16 16:20:05 +0300 |
commit | a883e71345a0101ff33be23a8d13f112ec4defb5 (patch) | |
tree | c46620b3bbfd0e68322df4be1796d38eabebf95f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bd96a3935e89486304461a21752f824fc25e0f0b (diff) | |
download | linux-a883e71345a0101ff33be23a8d13f112ec4defb5.tar.xz |
RDMA/erdma: Probe the erdma RoCEv2 device
Currently, the erdma driver supports both the iWARP and RoCEv2 protocols.
The erdma driver reads the ERDMA_REGS_DEV_PROTO_REG register to identify
the protocol used by the erdma device. Since each protocol requires
different ib_device_ops, we introduce the erdma_device_ops_iwarp and
erdma_device_ops_rocev2 for iWARP and RoCEv2 protocols, respectively.
Signed-off-by: Boshi Yu <boshiyu@linux.alibaba.com>
Link: https://patch.msgid.link/20241211020930.68833-2-boshiyu@linux.alibaba.com
Reviewed-by: Cheng Xu <chengyou@linux.alibaba.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions