aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/phy.h
diff options
context:
space:
mode:
authorPrasad Kanneganti <prasad.kanneganti@cavium.com>2017-05-25 10:54:29 -0700
committerDavid S. Miller <davem@davemloft.net>2017-05-26 14:41:48 -0400
commita55667e6f258408f1e7ddcf645d76d67a5ab3d92 (patch)
treecff0f92b50f59ee2bde2f953881942cdd7e96ff5 /include/linux/phy.h
parentliquidio: fix rare pci_driver.probe failure of VF driver (diff)
downloadwireguard-linux-a55667e6f258408f1e7ddcf645d76d67a5ab3d92.tar.xz
wireguard-linux-a55667e6f258408f1e7ddcf645d76d67a5ab3d92.zip
liquidio: fix inaccurate count of napi-processed rx packets reported to Octeon
lio_enable_irq (called by napi poll) is reporting to Octeon an inaccurate count of processed rx packets causing Octeon to eventually stop forwarding packets to the host. Fix it by using this formula for an accurate count: processed rx packets = droq->pkt_count - droq->pkts_pending Also increase SOFT_COMMAND_BUFFER_SIZE to match what the firmware expects. Signed-off-by: Prasad Kanneganti <prasad.kanneganti@cavium.com> Signed-off-by: Felix Manlunas <felix.manlunas@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions