diff options
author | David S. Miller <davem@davemloft.net> | 2018-11-09 07:48:01 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-11-09 07:48:01 +0300 |
commit | db8ba1e8c39a0e4a012949b5b8ac68386bd39b28 (patch) | |
tree | 43dff3f5fe65ac9a1d3ffb56b3f71aaa2bb07364 /drivers/net/xen-netfront.c | |
parent | 1106a5ade15fa2effdbfb3b3a1ba560a536dbcfe (diff) | |
parent | 6e5a716f424b1020fc8cf52b0ab4a1551e952733 (diff) | |
download | linux-db8ba1e8c39a0e4a012949b5b8ac68386bd39b28.tar.xz |
Merge branch 'nfp-abm-move-code-and-improve-parameter-validation'
Jakub Kicinski says:
====================
nfp: abm: move code and improve parameter validation
This set starts by separating Qdisc handling code into a new file.
Next two patches allow early access to TLV-based capabilities during
probe, previously the capabilities were parsed just before netdevs
were registered, but its cleaner to do some basic validation earlier
and avoid cleanup work.
Next three patches improve RED's parameter validation. First we provide
a more precise message about why offload failed (and move the parameter
validation to a helper). Next we make sure we don't set the top bit
in the 32 bit max RED threshold value. Because FW is treating the value
as signed it reportedly causes slow downs (unnecessary queuing and
marking) when top bit is set with recent firmwares. Last (and perhaps
least importantly) we offload the harddrop parameter of the Qdisc.
We don't plan to offload harddrop RED, but it seems prudent to make
sure user didn't set that flag as device behaviour would have differed.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/xen-netfront.c')
0 files changed, 0 insertions, 0 deletions