aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/jme
diff options
context:
space:
mode:
authorRandall Stewart <rrs@FreeBSD.org>2020-02-26 13:48:33 +0000
committerRandall Stewart <rrs@FreeBSD.org>2020-02-26 13:48:33 +0000
commitd7313dc6f5fcab29946951936597772dfff6a4be (patch)
tree8b639f9e665deca877725af8ead3b57ccb694f71 /sys/dev/jme
parenta4c354bdd5ffa611dfd7f5daddb5da7a68b79aa9 (diff)
downloadsrc-d7313dc6f5fcab29946951936597772dfff6a4be.tar.gz
src-d7313dc6f5fcab29946951936597772dfff6a4be.zip
This commit expands tcp_ratelimit to be able to handle cards
like the mlx-c5 and c6 that require a "setup" routine before the tcp_ratelimit code can declare and use a rate. I add the setup routine to if_var as well as fix tcp_ratelimit to call it. I also revisit the rates so that in the case of a mlx card of type c5/6 we will use about 100 rates concentrated in the range where the most gain can be had (1-200Mbps). Note that I have tested these on a c5 and they work and perform well. In fact in an unloaded system they pace right to the correct rate (great job mlx!). There will be a further commit here from Hans that will add the respective changes to the mlx driver to support this work (which I was testing with). Sponsored by: Netflix Inc. Differential Revision: ttps://reviews.freebsd.org/D23647
Notes
Notes: svn path=/head/; revision=358332
Diffstat (limited to 'sys/dev/jme')
0 files changed, 0 insertions, 0 deletions