On Thu, 11 Jan 2018 11:21:00 +0100, Jiri Pirko wrote:
> +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 value
> +      * to negate the HW backlog value.
> +      */
> +     u32 *backlog;
> +};

Could we please pass the full qstats on replace and destroy.  This
simplifies the driver code and allows handling the qlen as well as
backlog.  Please see the 2 patch series I sent earlier yesterday. 

Reply via email to