Go to file
Ivan Vecera 39ff8aaf30 ethtool: runtime-resume netdev parent in ethnl_ops_begin
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=2047636

commit d43c65b05b848e0b2db1a6c78b02c189da3a95b5
Author: Heiner Kallweit <hkallweit1@gmail.com>
Date:   Sun Aug 1 12:41:31 2021 +0200

    ethtool: runtime-resume netdev parent in ethnl_ops_begin

    If a network device is runtime-suspended then:
    - network device may be flagged as detached and all ethtool ops (even if not
      accessing the device) will fail because netif_device_present() returns
      false
    - ethtool ops may fail because device is not accessible (e.g. because being
      in D3 in case of a PCI device)

    It may not be desirable that userspace can't use even simple ethtool ops
    that not access the device if interface or link is down. To be more friendly
    to userspace let's ensure that device is runtime-resumed when executing the
    respective ethtool op in kernel.

    Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
    Signed-off-by: David S. Miller <davem@davemloft.net>

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
2022-01-28 15:55:55 +01:00
Documentation Merge: mptcp: rebase to 5.16 net-next 2022-01-28 14:46:38 +00:00
LICENSES
arch Merge: kernel/rh_taint.c: Update to new messaging 2022-01-28 14:33:22 +00:00
block
certs
crypto
drivers Merge: CNB: rebase/update devlink for RHEL 9.0 2022-01-28 14:44:13 +00:00
fs
include Merge: mptcp: rebase to 5.16 net-next 2022-01-28 14:46:38 +00:00
init
ipc
kernel Merge: kernel: Add redhat code 2022-01-28 14:37:32 +00:00
lib
mm
net ethtool: runtime-resume netdev parent in ethnl_ops_begin 2022-01-28 15:55:55 +01:00
redhat Merge: kernel/rh_taint.c: Update to new messaging 2022-01-28 14:33:22 +00:00
samples
scripts
security
sound
tools Merge: mptcp: rebase to 5.16 net-next 2022-01-28 14:46:38 +00:00
usr
virt
.clang-format
.cocciconfig
.get_maintainer.conf
.get_maintainer.ignore
.gitattributes
.gitignore
.gitlab-ci.yml
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
Kconfig.redhat
MAINTAINERS
Makefile
Makefile.rhelver [redhat] kernel-5.14.0-49.el9 2022-01-26 22:31:46 +00:00
README
makefile

README

Linux kernel
============

There are several guides for kernel developers and users. These guides can
be rendered in a number of formats, like HTML and PDF. Please read
Documentation/admin-guide/README.rst first.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.  The formatted documentation can also be read online at:

    https://www.kernel.org/doc/html/latest/

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.