]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r317702, r317847, r318307
authornp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 May 2017 01:43:28 +0000 (01:43 +0000)
committernp <np@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 25 May 2017 01:43:28 +0000 (01:43 +0000)
commit8fa62e8794b89c1982e945c8f466c4a321bad034
tree54125eb3f5add861ebf3b38f0ebb97484fd1fca5
parent54e9651dc04b58c40011fa49d716fcacfea1a2c6
MFC r317702, r317847, r318307

r317702:
cxgbe(4): Support routines for Tx traffic scheduling.

- Create a new file, t4_sched.c, and move all of the code related to
  traffic management from t4_main.c and t4_sge.c to this file.
- Track both Channel Rate Limiter (ch_rl) and Class Rate Limiter (cl_rl)
  parameters in the PF driver.
- Initialize all the cl_rl limiters with somewhat arbitrary default
  rates and provide routines to update them on the fly.
- Provide routines to reserve and release traffic classes.

r317847:
cxgbe(4): The Tx scheduler initialization either works or doesn't.  It
doesn't need a refresh in either case.

r318307:
cxgbe(4): Avoid an out of bounds access when an attempt to unbind a tx
queue from a traffic class fails.

Sponsored by: Chelsio Communications

git-svn-id: svn://svn.freebsd.org/base/stable/10@318851 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/conf/files
sys/dev/cxgbe/adapter.h
sys/dev/cxgbe/common/common.h
sys/dev/cxgbe/common/t4_hw.c
sys/dev/cxgbe/t4_main.c
sys/dev/cxgbe/t4_sched.c [new file with mode: 0644]
sys/dev/cxgbe/t4_sge.c
sys/dev/cxgbe/t4_vf.c
sys/modules/cxgbe/if_cxgbe/Makefile