]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
amd-xgbe: Enable/disable PFC per traffic class
authorLendacky, Thomas <Thomas.Lendacky@amd.com>
Wed, 17 Feb 2016 17:48:48 +0000 (11:48 -0600)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Feb 2016 20:22:19 +0000 (15:22 -0500)
commit8dba2a2a88397dec6bdcae8bf7ceeefd62fd39fc
treefa7ee6069d1dbe5a5d96d6de1475a25191d5090e
parent757e6aa34ca9529786877d3045684e7c9f686075
amd-xgbe: Enable/disable PFC per traffic class

Currently the PFC flow control is enabled on all traffic classes if
one or more traffic classes request it. The PFC enable setting of the
traffic class should be used to determine whether to enable or disable
flow control for the traffic class.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-dev.c