ice: Fix ethtool port and PFC stats for 4x25G cards
Usha Ketineni authored

This patch fixes the issue where port and PFC statistics counters are
incrementing at the wrong port with 4x25G cards.
Read the GLPRT port registers using lport parameter instead of pf_id to
update the statistics otherwise the pf_ids are flipped for ports 2 and 3
when read from the HW register PF_FUNC_RID and this is expected as per
hardware specification.
Signed-off-by: default avatarUsha Ketineni <usha.k.ketineni@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
9e7a5d17
Name Last commit Last update
Documentation dt-bindings: net: meson-dwmac: convert to yaml
LICENSES LICENSES: Rename other to deprecated
arch s390/qeth: add TX NAPI support for IQD devices
block block: remove REQ_NOWAIT_INLINE
certs Revert "Merge tag 'keys-acl-20190703' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs"
crypto Merge tag 'usb-5.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
drivers ice: Fix ethtool port and PFC stats for 4x25G cards
fs Merge tag 'for-5.3-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux
include net: sched: copy tunnel info when setting flow_action entry->tunnel
init Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
ipc Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
kernel Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
lib Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
mm hugetlbfs: fix hugetlb page migration/fault race causing SIGBUS
net net: sched: flower: don't take rtnl lock for cls hw offloads API
samples Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
scripts Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net
security KEYS: trusted: allow module init if TPM is inactive or deactivated
sound Merge tag 'sound-5.3-rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound
tools selftests: mlxsw: Add a test case for devlink-trap
usr kbuild: enable arch/s390/include/uapi/asm/zcrypt.h for uapi header test
virt Merge tag 'kvmarm-fixes-for-5.3-2' of git://git.kernel.org/pub/scm/linux/kernel/git/kvmarm/kvmarm into HEAD
.clang-format Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
.cocciconfig scripts: add Linux .cocciconfig for coccinelle
.get_maintainer.ignore Opt out of scripts/get_maintainer.pl
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS
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.