diff options
author | Petr Machata <petrm@mellanox.com> | 2019-12-18 17:55:08 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-12-19 00:32:29 +0300 |
commit | 9586a992fb752b14ac18fc86fe086b0e3372fff4 (patch) | |
tree | c6f7f0df5031cb537813299305a91b4de064f0e3 /include/net/pkt_cls.h | |
parent | cbd22f172df782d6b2150044d0ff2051bad2a00f (diff) | |
download | linux-9586a992fb752b14ac18fc86fe086b0e3372fff4.tar.xz |
net: pkt_cls: Clarify a comment
The bit about negating HW backlog left me scratching my head. Clarify the
comment.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_cls.h')
-rw-r--r-- | include/net/pkt_cls.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h index e553fc80eb23..a7c5d492bc04 100644 --- a/include/net/pkt_cls.h +++ b/include/net/pkt_cls.h @@ -791,9 +791,8 @@ enum tc_prio_command { struct tc_prio_qopt_offload_params { int bands; u8 priomap[TC_PRIO_MAX + 1]; - /* In case that a prio qdisc is offloaded and now is changed to a - * non-offloadedable config, it needs to update the backlog & qlen - * values to negate the HW backlog & qlen values (and only them). + /* At the point of un-offloading the Qdisc, the reported backlog and + * qlen need to be reduced by the portion that is in HW. */ struct gnet_stats_queue *qstats; }; |