Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
5042 Discussions

当我在linux kernel5.15.46上编译igb I211 driver后,无法用DRV模式加载XDP

dalu
Beginner
1,386 Views

linux kernel 5.15.46

driver source : https://downloadmirror.intel.com/773702/igb-5.13.16.tar.gz

当编译安装后,在向网络接口上加载XDP程序时,报错:

libbpf: Kernel error message: Underlying driver does not support XDP in native mode

 

查看源码后,发现libbpf会

dev_xdp_bpf_op函数中,会判断driver是否实现了ndo_bpf函数,

而igb-5.13.16中并未实现ndo_bpf,所以导致这个错误。

 

问题:

如何找到适用当前内核的igb最新版本?

0 Kudos
4 Replies
B_Y
Employee
1,357 Views

Hi @dalu,


Thank you for posting in Intel Ethernet Communities.

Please be informed that I can only support you in English. I have used a web translation tool to translate your messages hence, there may be some inaccurate translation.

For us to further check the issue, please provide the following details.

- Is it working fine before?

- Can you share with us on the system report? Guide for the Intel® System Support Utility as following:

https://www.intel.com/content/www/us/en/support/articles/000008563/ethernet-products.html?wapkw=ssu


Please try with latest driver:

https://www.intel.com/content/www/us/en/download/14098/intel-network-adapter-driver-for-82575-6-82580-i350-and-i210-211-based-gigabit-network-connections-for-linux.html


Looking forward to hear from you.


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
B_Y
Employee
1,320 Views

Hi @dalu,


I hope this message finds you well. I am just sending a follow up if you have any questions from the previous post. If so, please let us know. Thank you.


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
B_Y
Employee
1,279 Views

Hi @dalu,


Please be informed that we will now close this request since we haven't received any response from our previous follow ups. Just feel free to post a new question if you may have any other inquiry in the future as this thread will no longer be monitored.


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
dalu
Beginner
1,165 Views

hi, system report is in attachment.

the problem is still not resolved.

 

best regard

0 Kudos
Reply