]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
cxgbe(4): refine the values reported in if_ratelimit_query.
authorNavdeep Parhar <np@FreeBSD.org>
Fri, 23 Oct 2020 01:36:54 +0000 (01:36 +0000)
committerNavdeep Parhar <np@FreeBSD.org>
Fri, 23 Oct 2020 01:36:54 +0000 (01:36 +0000)
commitb8b01d9be858918a938dd29888a71718002ef53c
tree5aaa836435d3f7eff0ef5f1368eb4a609080a11d
parent8a82be504499c444e8fe9cb9eb41bee10d358b4d
cxgbe(4): refine the values reported in if_ratelimit_query.

- Get the number of classes from chip_params.
- Get the number of ethofld tids from the firmware.
- Do not let tcp_ratelimit allocate all traffic classes.

Sponsored by: Chelsio Communications
sys/dev/cxgbe/t4_sched.c