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

Driver or card crashes with VLAN traffic #23

Open
jp-bennett opened this issue Jan 19, 2020 · 2 comments
Open

Driver or card crashes with VLAN traffic #23

jp-bennett opened this issue Jan 19, 2020 · 2 comments

Comments

@jp-bennett
Copy link

I'm working on the Trendnet TEG-10GECTX adapter that uses this driver, and it uses the x3310fw file. I've gotten everything working, but seeing an odd problem. I have two servers running CentOS 8, both using this card/driver. I have IP addresses assigned to the interface, and traffic flows as normal.

I set up a bridge on the two servers, pointing at a vlan interface running over the cards. Sending any vlan traffic over the cards causes something to crash on the card or in the driver. I'm not seeing any error messages in dmesg or the logs, but all traffic across the interface suddenly stops.

Judging by watching pings, the connection crashes the moment vlan tagged traffic is sent across the wire.

@jp-bennett
Copy link
Author

jp-bennett commented Jan 23, 2020

A bit more information, I'm seeing this when using libvirt virtual machines, and connecting VMs to the bridges on the two different servers, and trying to forward traffic across. I managed to get everything working as expected, with one of the machines running a driver with debug mode turned on. Recompiling to get rid of the dmesg spam actually re-introduced the bug again.

It might be related to the vnet adapters that libvirtd creates when I attach a VM to the bridge, as it seems to be VM traffic that kills it most reliably.

@gmazzamuto
Copy link

I am experiencing the same problem. The connection is lost as soon as some tagged packet is sent across the wire. When the card is connected to an untagged port on the switch, everything works. If I configure the switch port to accept another tagged vlan (in addition to the default untagged traffic), the connection crashes after a few seconds (I imagine as soon as the first tagged packet arrives). If I undo this change, i.e. reconfigure the switch port to accept only untagged traffic, the connection stays broken, suggesting that something has indeed crashed in the driver. The only way to make it work again is by doing:

ip link set enp139s0 down
ip link set enp139s0 up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants