aboutsummaryrefslogtreecommitdiff
path: root/lib/libcom_err
diff options
context:
space:
mode:
authorEric Joyner <erj@FreeBSD.org>2019-01-31 21:44:33 +0000
committerEric Joyner <erj@FreeBSD.org>2019-01-31 21:44:33 +0000
commitb2c1e8e6204924586f74d21d19c16b55301c85cc (patch)
tree3467e80bd19bf01c8eba1cd6b4168a1c707dbdfc /lib/libcom_err
parent829c56fc089d9e43580bf862d41dc1680d610fdc (diff)
ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status
From Piotr: 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 <krzysztof.galazka@intel.com>. PR: 221317 Submitted by: Piotr Pietruszewski <piotr.pietruszewski@intel.com> Reviewed by: sbruno@, IntelNetworking Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D18468
Notes
svn path=/head/; revision=343621
Diffstat (limited to 'lib/libcom_err')
0 files changed, 0 insertions, 0 deletions