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

Implement ndo_change_carrier #44

Open
bluecmd opened this issue Sep 6, 2020 · 0 comments
Open

Implement ndo_change_carrier #44

bluecmd opened this issue Sep 6, 2020 · 0 comments
Labels
enhancement New feature or request software Driver or utility related

Comments

@bluecmd
Copy link
Owner

bluecmd commented Sep 6, 2020

Since we are doing userspace Fibre Channel we want to keep the DMA and the netdevs hot even when the link is down.
Right now doing ip link set up activates the lasers which will cause the initial FC packets to start to flow. This means that between the up and the pcap attachment we will likely lose packets.

Thus we need a way to be able to reset the interface from userspace without taking it down/up. The IFLA_CARRIER is not meant for this, but we can re-use it as a way to force control of the TX laser which will cause a FC state reset.

@bluecmd bluecmd added enhancement New feature or request software Driver or utility related labels Sep 6, 2020
@bluecmd bluecmd added this to the Analyzer Alpha milestone Sep 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request software Driver or utility related
Projects
None yet
Development

No branches or pull requests

1 participant