i40e: Fix unqualified module message while bringing link up
Sudheer Mogilappagari authored

In current driver, when ifconfig ethx up is done, the link state
doesn't transition to UP inside i40e_open(). It changes after AQ
command response is handled in i40e_handle_link_event().

When pf->hw.phy.link_info.link_info is DOWN inside i40e_open(),
The state is transient and invalid. So log message gets printed
based on incorrect info (i.e link_info and an_info).

This commit removes check for unqualified module inside
i40e_up_complete(). The existing check in i40e_handle_link_event()
logs the error message based on correct link state information.
Signed-off-by: default avatarSudheer Mogilappagari <sudheer.mogilappagari@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
16badf75
Name Last commit Last update
Documentation Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
arch Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
block block: directly insert blk-mq request from blk_insert_cloned_request()
certs modsign: add markers to endif-statements in certs/Makefile
crypto crypto: af_alg - update correct dst SGL entry
drivers i40e: Fix unqualified module message while bringing link up
firmware firmware: Restore support for built-in firmware
fs Merge tag '4.14-smb3-fixes-from-recent-test-events-for-stable' of git://git.samba.org/sfrench/cifs-2.6
include net: ipv4: remove fib_weight
init Merge branch 'work.mount' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
ipc ipc/shm: Fix order of parameters when calling copy_compat_shmid_to_user
kernel bpf: Add map_name to bpf_map_info
lib Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
mm Merge branch 'work.read_write' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
net net: ipv4: remove fib_info arg to fib_check_nh
samples bpf: libbpf: Provide basic API support to specify BPF obj name
scripts kbuild: rpm-pkg: fix version number handling
security Merge tag 'apparmor-pr-2017-09-22' of git://git.kernel.org/pub/scm/linux/kernel/git/jj/linux-apparmor
sound vfs: constify path argument to kernel_read_file_from_path
tools bpf: Test new fields in bpf_attr and bpf_{prog, map}_info
usr ramfs: clarify help text that compression applies to ramfs as well as legacy ramdisk.
virt Revert "KVM: Don't accept obviously wrong gsi values via KVM_IRQFD"
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Add hch to .get_maintainer.ignore
.gitattributes .gitattributes: set git diff driver for C source code files
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
Makefile
README
Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

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.