diff options
author | Nogah Frankel <nogahf@mellanox.com> | 2018-01-10 14:59:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-01-10 16:07:40 -0500 |
commit | f34b4aac46b2c7b76d3313c94efe02a64ac8f24a (patch) | |
tree | c4759d4560d2ecea85942948f3c0dd5bfb360e75 /drivers/net | |
parent | 371b437a325172fb009c1919a84d0af38f9b4fce (diff) | |
download | linux-f34b4aac46b2c7b76d3313c94efe02a64ac8f24a.tar.bz2 |
net: sch: red: Change the name of the stats struct to be generic
Change the name of the stats struct to be generic, so it could be used for
other qdisc offload, that will be added in the next patches.
Signed-off-by: Nogah Frankel <nogahf@mellanox.com>
Reviewed-by: Yuval Mintz <yuvalm@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c b/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c index 8172cc902f12..3e2841872f64 100644 --- a/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c +++ b/drivers/net/ethernet/mellanox/mlxsw/spectrum_qdisc.c @@ -229,7 +229,7 @@ static int mlxsw_sp_qdisc_get_red_stats(struct mlxsw_sp_port *mlxsw_sp_port, u32 handle, struct mlxsw_sp_qdisc *mlxsw_sp_qdisc, int tclass_num, - struct tc_red_qopt_offload_stats *res) + struct tc_qopt_offload_stats *res) { u64 tx_bytes, tx_packets, overlimits, drops; struct mlxsw_sp_port_xstats *xstats; |