Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

网络接口无法启用 #7

Open
leibnewton opened this issue Jan 23, 2024 · 2 comments
Open

网络接口无法启用 #7

leibnewton opened this issue Jan 23, 2024 · 2 comments
Labels
bug Something isn't working question Further information is requested

Comments

@leibnewton
Copy link

    将本项目的100g版本编译后,将bit文件下载到板卡并热重启,加载mqnic.ko模块后能看到有两个网卡设备了。
    现已用DAC连接线连接vu13p网口和另一个Intel 100g网卡的网口,指示灯已亮。启用Intel 100g网口设备也成功。但在启用vu13p网口时,却没有效果,而且ethtool返回的信息也很简略。请问是什么原因呢?
    下方是执行的命令和结果:
root@caas-a149:~# lspci | grep -i eth
09:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
09:00.1 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM5720 Gigabit Ethernet PCIe
41:00.0 Ethernet controller: Device 1234:1001
c2:00.0 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
c2:00.1 Ethernet controller: Mellanox Technologies MT27710 Family [ConnectX-4 Lx]
root@caas-a149:~# ethtool enp65s0
Settings for enp65s0:
        Link detected: no
root@caas-a149:~# ip link show enp65s0
7: enp65s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether f6:a7:af:46:10:34 brd ff:ff:ff:ff:ff:ff
root@caas-a149:~# ip link set enp65s0 up
root@caas-a149:~# ip link show enp65s0
7: enp65s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether f6:a7:af:46:10:34 brd ff:ff:ff:ff:ff:ff
@maswx maswx added bug Something isn't working question Further information is requested labels Jan 23, 2024
@maswx
Copy link
Owner

maswx commented Jan 23, 2024

年底忙,年后抽空看看

@leibnewton
Copy link
Author

leibnewton commented Jan 23, 2024

年底忙,年后抽空看看

谢谢。

请问该工程有上板验证过数据收发(比如用ping和iperf)吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants