diff options
author | David S. Miller <davem@davemloft.net> | 2018-01-11 00:07:42 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-11 00:07:42 +0300 |
commit | c92342b0bf59d49151f0e6a9e4ef751fd464c624 (patch) | |
tree | b07fa663e0a7885e7a405e4d2f695e6aebe73638 /drivers/net/ethernet/sfc | |
parent | d016e13d80949b1b5c72463c9808dee0bd39881c (diff) | |
parent | 56202ca4eddf9c3b2cda98095e0f2aa4196ec2ed (diff) | |
download | linux-c92342b0bf59d49151f0e6a9e4ef751fd464c624.tar.xz |
Merge branch 'mlxsw-qdisc-refactoring'
Jiri Pirko says:
====================
mlxsw qdisc refactoring
This patchset refactors the qdisc handling in mlxsw driver in order to make
it more object oriented like.
It helps readability, laying the groundwork for the offloading of
additional qdiscs by the driver
This patchset also makes the qdiscs statistics more generic.
Patch 1 moves the qdiscs declaration to the spectrum_qdisc.c
Patches 2-3 clean the offloaded stats requests. Patch 2 changes the RED
generic stats struct to be sharable by other offloaded qdiscs. Patch 3
changes the xstats request to be like the stats. Note that these patches
are outside the driver scope.
Patches 4-5 clean the statistics related functions and structs within the
driver.
Patches 6-7 decrease the need for the same parameters to be sent to many
functions.
Patches 8-11 create a functions pointers struct, to make the qdiscs
handling more object oriented like.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc')
0 files changed, 0 insertions, 0 deletions