Page MenuHomeFreeBSD

ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status

Authored by on Dec 7 2018, 12:52 PM.
Referenced Files
Unknown Object (File)
Jan 15 2024, 11:34 AM
Unknown Object (File)
Dec 20 2023, 2:21 AM
Unknown Object (File)
Dec 10 2023, 2:30 PM
Unknown Object (File)
Dec 10 2023, 1:14 AM
Unknown Object (File)
Dec 8 2023, 5:19 AM
Unknown Object (File)
Nov 23 2023, 3:54 PM
Unknown Object (File)
Nov 22 2023, 12:52 AM
Unknown Object (File)
Nov 20 2023, 8:49 PM



This patch introduces adapter->task_requests register responsible for
recording requests for mod_task, msf_task, mbx_task, fdir_task and
phy_task calls. Instead of enqueueing these tasks with
GROUPTASK_ENQUEUE, handlers will be called directly from
ixgbe_if_update_admin_status() while holding ctx lock.

SIOCGIFXMEDIA ioctl() call reads adapter->media list. The list is
deleted and rewritten in ixgbe_handle_msf() task without holding ctx
lock. This change is needed to maintain data coherency when sharing
adapter info via ioctl() calls.

Patch co-authored by Krzysztof Galazka <>.

Diff Detail

rS FreeBSD src repository - subversion
Lint Not Applicable
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Dec 10 2018, 4:03 PM
This revision now requires review to proceed.Dec 11 2018, 2:00 PM
This revision is now accepted and ready to land.Jan 31 2019, 4:17 PM
This revision was automatically updated to reflect the committed changes.