]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): Congestion drops are maintained per E-channel and not per
authornp <np@FreeBSD.org>
Wed, 19 Feb 2020 00:48:58 +0000 (00:48 +0000)
committernp <np@FreeBSD.org>
Wed, 19 Feb 2020 00:48:58 +0000 (00:48 +0000)
commit2e7e448998061535d32de99bb05379114506f8df
tree91f93b8fcb1f1f8c6f5f27249f9c4d13c8afea7b
parentbdae7ff28c82ea91bdea402490e17e563e91593e
cxgbe(4): Congestion drops are maintained per E-channel and not per
buffer group.

This fixes a bug where congestion drops on port 1 of a T6 card would
incorrectly be counted as drops on port 0.

MFC after: 1 week
Sponsored by: Chelsio Communications
sys/dev/cxgbe/common/t4_hw.c
sys/dev/cxgbe/t4_main.c