freebsd-skq/sys/dev/ixgbe
erj 649e8ad140 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
2019-01-31 21:44:33 +00:00
..
if_bypass.c ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
if_fdir.c ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
if_ix.c ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status 2019-01-31 21:44:33 +00:00
if_ixv.c Make iflib a loadable module. 2019-01-31 19:05:56 +00:00
if_sriov.c ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ix_txrx.c intel iflib drivers: correct initialization of tx_cidx_processed 2019-01-24 01:03:00 +00:00
ixgbe_82598.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_82598.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_82599.c ixgbe: this statement may fall through warnings with gcc 2019-01-19 20:45:41 +00:00
ixgbe_82599.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_api.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_api.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_bypass.h
ixgbe_common.c ixgbe: this statement may fall through warnings with gcc 2019-01-19 20:45:41 +00:00
ixgbe_common.h ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_dcb_82598.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_dcb_82598.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_dcb_82599.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_dcb_82599.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_dcb.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_dcb.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_fdir.h ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_features.h
ixgbe_mbx.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_mbx.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_osdep.c ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_osdep.h ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_phy.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_phy.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_rss.h
ixgbe_sriov.h ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_type.h ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status 2019-01-31 21:44:33 +00:00
ixgbe_vf.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_vf.h ixgbe(4): Convert driver to use iflib 2017-12-20 18:15:06 +00:00
ixgbe_x540.c ixgbe(4): Update shared code, add support for X552 1G, fix bug 2018-03-19 20:55:05 +00:00
ixgbe_x540.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-20 19:36:21 +00:00
ixgbe_x550.c netmap and iflib drivers, silence unused var warnings 2018-05-19 05:57:26 +00:00
ixgbe_x550.h
ixgbe.h ix(4): Run {mod,msf,mbx,fdir,phy}_task in if_update_admin_status 2019-01-31 21:44:33 +00:00