Page MenuHomeFreeBSD

qlnxe: Refactor setting the promiscuous and allmulti mode
ClosedPublic

Authored by zlei on Jan 26 2026, 6:46 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Feb 18, 12:10 AM
Unknown Object (File)
Tue, Feb 17, 11:15 PM
Unknown Object (File)
Tue, Feb 10, 11:59 PM
Unknown Object (File)
Mon, Feb 9, 10:34 AM
Unknown Object (File)
Jan 26 2026, 11:46 PM
Unknown Object (File)
Jan 26 2026, 9:01 PM
Unknown Object (File)
Jan 26 2026, 8:37 PM
Unknown Object (File)
Jan 26 2026, 7:00 PM
Subscribers

Details

Summary

There're two entry points to set the promiscuous and allmulti mode. One
is ioctl and another is the init routine. Well they share almost the
identical logic so refactor a little to make the code clear.

While here, for the ioctl, translate the error to EINVAL to avoid
confusing the net stack.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zlei requested review of this revision.Jan 26 2026, 6:46 AM
This revision is now accepted and ready to land.Fri, Feb 6, 6:29 AM