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

Fix condition for using SIOCDEVPRIVATE ioctls #75

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danfruehauf
Copy link

On el9, SIOCDEVPRIVATE was backported to be used on kernel 5.14.x. Fix current condition that assumes this is present only on 5.15.0 and newer

Fixes #74 #67

On el9, SIOCDEVPRIVATE was backported to be used on kernel 5.14.x. Fix
current condition that assumes this is present only on 5.15.0 and newer
@Alexxstud
Copy link

Hello, @danfruehauf. On 5.14.0-70.30.1.el9_0.x86_64 I am getting errno: 99, Cannot assign requested address for this PR

@danfruehauf
Copy link
Author

Hey @Alexxstud, thanks for testing it!

Have you made sure the driver is reloaded? It works for us, and also can be tested using:

$ exanic-config enp2s0d7

Or any other interface...

Before that patch, it fails to find specific interfaces using names (this is the actual fix). Can you please test exanic-config against a specific interfaces? Cheers

@tklinchik
Copy link

It appears that on EL9 It exanic_netdev_siocdevprivate is being called instead of exanic_netdev_ioctl for SIOCGHWTSTAMP, SIOCSHWTSTAMP, EXAIOCGHWTSTAMP which results in inability to set/get timestamps on file descriptors since doing so is contingent on a result of those calls.

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

Successfully merging this pull request may close these issues.

EL9 (Rocky9) EADDRNOTAVAIL (Cannot assign requested address) on connect()
3 participants