net: sched: cls_flower: dump offload count value
Change flower in_hw_count type to fixed-size u32 and dump it as TCA_FLOWER_IN_HW_COUNT. This change is necessary to properly test shared blocks and re-offload functionality. Signed-off-by: Vlad Buslov <vladbu@mellanox.com> Acked-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
fd2b803fa8
commit
86c55361e5
@@ -362,7 +362,7 @@ static inline void tcf_block_offload_dec(struct tcf_block *block, u32 *flags)
|
||||
}
|
||||
|
||||
static inline void
|
||||
tc_cls_offload_cnt_update(struct tcf_block *block, unsigned int *cnt,
|
||||
tc_cls_offload_cnt_update(struct tcf_block *block, u32 *cnt,
|
||||
u32 *flags, bool add)
|
||||
{
|
||||
if (add) {
|
||||
|
Reference in New Issue
Block a user