luigirizzo / netmap

Automatically exported from code.google.com/p/netmap
BSD 2-Clause "Simplified" License
1.86k stars 537 forks source link

10 Gigabit network card bond4 cannot be negotiated successfully #806

Open wanttokiss opened 3 years ago

wanttokiss commented 3 years ago

Hello, why does netmap find that the connection between the 10 Gigabit network card and the 10 Gigabit switch is not successful when it uses the driver of i40e, but the connection is successful when it switches to the native driver bond4? The deployment is as follows: image The kernel prints as follows image

The network card information is as follows: image

jhk098 commented 3 years ago

Probably because once you are opening the two sub-interfaces in netmap mode (with their i40e driver, in this case), netmap intercepts any packets received (or transmitted by the kernel) on those interfaces, including the multicast traffic that belongs to the LACP protocol. This means that the host is not able to speak LACP. You can solve this issue by selectively forwarding LACP multicast traffic to from the host/sw rings. The same is true for any other protocol that is not implemented by your netmap application (e.g., it's implemented by the kernel or other non-netmap user-space component).