428 Star 1.6K Fork 1.6K

GVPopenEuler/kernel

 / 详情

支持ibv_devinfo查询设备速率

已完成
缺陷
创建于  
2023-11-20 17:42

ibv_devinfo查询到的速率应与实际相符。

评论 (3)

zhouj 创建了缺陷 1年前

Hi stinft, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers.

openeuler-ci-bot 添加了
 
sig/Kernel
标签
1年前
zhouj 任务状态待办的 修改为已取消 1年前
zhouj 任务状态已取消 修改为待办的 1年前
[root@localhost roce]# rdma link
link hns_0/1 state ACTIVE physical_state LINK_UP netdev eno1
link hns_1/1 state ACTIVE physical_state LINK_UP netdev eno2
link hns_2/1 state ACTIVE physical_state LINK_UP netdev eno3
[root@localhost roce]# ibv_devinfo -d hns_2 -v
hca_id: hns_2
        transport:                      InfiniBand (0)
        fw_ver:                         0.778.3337
        node_guid:                      022b:19ff:fe12:0504
        sys_image_guid:                 022b:19ff:fe12:0504
        vendor_id:                      0x19e5
        vendor_part_id:                 41512
        hw_ver:                         0x130
        phys_port_cnt:                  1
        max_mr_size:                    0xffffffffffffffff
        page_size_cap:                  0xffff000
        max_qp:                         131072
        max_qp_wr:                      32768
        device_cap_flags:               0x00301400
                                        PORT_ACTIVE_EVENT
                                        RC_RNR_NAK_GEN
                                        XRC
                                        MEM_MGT_EXTENSIONS
        max_sge:                        64
        max_sge_rd:                     1
        max_cq:                         131072
        max_cqe:                        8388608
        max_mr:                         131072
        max_pd:                         2097152
        max_qp_rd_atom:                 128
        max_ee_rd_atom:                 0
        max_res_rd_atom:                0
        max_qp_init_rd_atom:            128
        max_ee_init_rd_atom:            0
        atomic_cap:                     ATOMIC_HCA (1)
        max_ee:                         0
        max_rdd:                        0
        max_mw:                         0
        max_raw_ipv6_qp:                0
        max_raw_ethy_qp:                0
        max_mcast_grp:                  0
        max_mcast_qp_attach:            0
        max_total_mcast_qp_attach:      0
        max_ah:                         0
        max_fmr:                        0
        max_srq:                        131072
        max_srq_wr:                     32768
        max_srq_sge:                    64
        max_pkeys:                      1
        local_ca_ack_delay:             0
        general_odp_caps:
        rc_odp_caps:
                                        NO SUPPORT
        uc_odp_caps:
                                        NO SUPPORT
        ud_odp_caps:
                                        NO SUPPORT
        xrc_odp_caps:
                                        NO SUPPORT
        completion_timestamp_mask not supported
        core clock not supported
        device_cap_flags_ex:            0x301400
        tso_caps:
                max_tso:                        0
        rss_caps:
                max_rwq_indirection_tables:                     0
                max_rwq_indirection_table_size:                 0
                rx_hash_function:                               0x0
                rx_hash_fields_mask:                            0x0
        max_wq_type_rq:                 0
        packet_pacing_caps:
                qp_rate_limit_min:      0kbps
                qp_rate_limit_max:      0kbps
        tag matching not supported
        num_comp_vectors:               2
                port:   1
                        state:                  PORT_ACTIVE (4)
                        max_mtu:                4096 (5)
                        active_mtu:             1024 (3)
                        sm_lid:                 0
                        port_lid:               0
                        port_lmc:               0x00
                        link_layer:             Ethernet
                        max_msg_sz:             0x80000000
                        port_cap_flags:         0x00950000
                        port_cap_flags2:        0x0000
                        max_vl_num:             invalid value (0)
                        bad_pkey_cntr:          0x0
                        qkey_viol_cntr:         0x0
                        sm_sl:                  0
                        pkey_tbl_len:           1
                        gid_tbl_len:            256
                        subnet_timeout:         0
                        init_type_reply:        0
                        active_width:           4X (2)
                        active_speed:           50.0 Gbps (64)
                        phys_state:             LINK_UP (5)
                        GID[  0]:               fe80:0000:0000:0000:022b:19ff:fe12:0504, RoCE v1
                        GID[  1]:               fe80::22b:19ff:fe12:504, RoCE v2

[root@localhost roce]# ethtool eno3
Settings for eno3:
        Supported ports: [ Backplane ]
        Supported link modes:   10000baseKR/Full
                                40000baseKR4/Full
                                25000baseKR/Full
                                50000baseKR2/Full
                                100000baseKR4/Full
                                200000baseKR4/Full
        Supported pause frame use: Symmetric
        Supports auto-negotiation: No
        Supported FEC modes: RS  LLRS
        Advertised link modes:  200000baseKR4/Full
        Advertised pause frame use: Symmetric
        Advertised auto-negotiation: No
        Advertised FEC modes: RS
        Speed: 200000Mb/s
        Duplex: Full
        Auto-negotiation: off
        Port: None
        PHYAD: 0
        Transceiver: internal
        Supports Wake-on: d
        Wake-on: d
        Current message level: 0x00000036 (54)
                               probe link ifdown ifup
        Link detected: yes
[root@localhost roce]#
zhouj 修改了标题 1年前
zhouj 修改了描述 1年前
zhouj 修改了描述 1年前
zhouj 任务状态已完成 修改为待办的 1年前

登录 后才可以发表评论

状态
负责人
项目
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
预计工期 (小时)
参与者(2)
5329419 openeuler ci bot 1632792936 zhouj-stinft
C
1
https://gitee.com/openeuler/kernel.git
git@gitee.com:openeuler/kernel.git
openeuler
kernel
kernel

搜索帮助