Page MenuHomeFreeBSD

iflib: Add a new quirk
ClosedPublic

Authored by kd on Jun 11 2021, 3:06 PM.
Tags
None
Referenced Files
F147182190: D30728.id91306.diff
Sun, Mar 8, 10:06 PM
F147131708: D30728.id90863.diff
Sun, Mar 8, 3:04 PM
F147126430: D30728.id90863.diff
Sun, Mar 8, 1:59 PM
F147087258: D30728.id90863.diff
Sun, Mar 8, 5:37 AM
Unknown Object (File)
Sat, Mar 7, 5:47 AM
Unknown Object (File)
Thu, Mar 5, 4:30 PM
Unknown Object (File)
Thu, Mar 5, 6:18 AM
Unknown Object (File)
Tue, Mar 3, 6:45 PM
Subscribers

Details

Summary

ENETC NIC found in LS1028A has a bug where clearing TX pidx/cidx causes the ring to hang after being re-enabled.
Add a new flag, if set iflib will preserve the indices during restart.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

gallatin added inline comments.
sys/net/iflib.h
404–408

You appear to have re-used the same flag as IFLIB_HAS_ADMINCQ. I assume this is not what you intended.

This revision now requires changes to proceed.Jun 11 2021, 3:42 PM
kd added inline comments.
sys/net/iflib.h
404–408

Whops, I should have checked that after rebasing.
It is interesting though that git applied the patch cleanly here.

This revision is now accepted and ready to land.Jun 14 2021, 7:14 PM
This revision was automatically updated to reflect the committed changes.