Mellanox / k8s-rdma-sriov-dev-plugin

Kubernetes Rdma SRIOV device plugin
Apache License 2.0
109 stars 27 forks source link

Using Mellanox ConnectX-4 Lx, in the k8s pod command 'show_gids' returns nill while using calico cni. #30

Open wangrong2012 opened 4 years ago

wangrong2012 commented 4 years ago

[root@rdma-test-wv8kj tmp]# show_gids DEV PORT INDEX GID IPv4 VER DEV


n_gids_found=0

other info like : [root@rdma-test-wv8kj tmp]# ethtool eth0 Settings for eth0: Supported ports: [ ] Supported link modes: Not reported Supported pause frame use: No Supports auto-negotiation: No Supported FEC modes: Not reported Advertised link modes: Not reported Advertised pause frame use: No Advertised auto-negotiation: No Advertised FEC modes: Not reported Speed: 10000Mb/s Duplex: Full Port: Twisted Pair PHYAD: 0 Transceiver: internal Auto-negotiation: off MDI-X: Unknown Cannot get wake-on-lan settings: Operation not permitted Link detected: yes [root@rdma-test-wv8kj tmp]# ethtool -i eth0 driver: veth version: 1.0 firmware-version: expansion-rom-version: bus-info: supports-statistics: yes supports-test: no supports-eeprom-access: no supports-register-dump: no supports-priv-flags: no [root@rdma-test-wv8kj tmp]# ofed_ ofed_info ofed_rpm_info ofed_uninstall.sh
[root@rdma-test-wv8kj tmp]# ofed_info -s MLNX_OFED_LINUX-5.0-2.1.8.0: [root@rdma-test-wv8kj tmp]# ibv_devices device node GUID


mlx5_0              98039b03003b0346
mlx5_1              98039b03003b0347

[root@rdma-test-wv8kj tmp]# ibv_devinfo hca_id: mlx5_0 transport: InfiniBand (0) fw_ver: 14.27.1016 node_guid: 9803:9b03:003b:0346 sys_image_guid: 9803:9b03:003b:0346 vendor_id: 0x02c9 vendor_part_id: 4117 hw_ver: 0x0 board_id: MT_2420110004 phys_port_cnt: 1 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

hca_id: mlx5_1 transport: InfiniBand (0) fw_ver: 14.27.1016 node_guid: 9803:9b03:003b:0347 sys_image_guid: 9803:9b03:003b:0346 vendor_id: 0x02c9 vendor_part_id: 4117 hw_ver: 0x0 board_id: MT_2420110004 phys_port_cnt: 1 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

wangrong2012 commented 4 years ago

any one can help? May I missed something ?

goversion commented 3 years ago

@wangrong2012 I ran into the same problem as you. Did you finally solve this problem, please?