Date: Thu, 31 Jan 2019 21:45:00 +0000 From: bugzilla-noreply@freebsd.org To: net@FreeBSD.org Subject: [Bug 221317] ifconfig down/up issue after ixgbe driver update in r320897 Message-ID: <bug-221317-7501-0G5w6tEGxt@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-221317-7501@https.bugs.freebsd.org/bugzilla/> References: <bug-221317-7501@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D221317 --- Comment #41 from commit-hook@freebsd.org --- A commit references this bug: Author: erj Date: Thu Jan 31 21:44:34 UTC 2019 New revision: 343621 URL: https://svnweb.freebsd.org/changeset/base/343621 Log: 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 Changes: head/sys/dev/ixgbe/if_ix.c head/sys/dev/ixgbe/ixgbe.h head/sys/dev/ixgbe/ixgbe_type.h --=20 You are receiving this mail because: You are on the CC list for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-221317-7501-0G5w6tEGxt>