On 24 Nov 2026, at 11:52, David Marchand wrote:

> The queue level QoS callback can fail (eg. EINVAL for a queue that is
> not configured on a trtcm-policer port) without filling the statistics
> structure. But netdev_dpdk_get_queue_stats() dropped the callback return
> value, so ofproto would then serialize an uninitialized stack structure
> into OpenFlow queue statistics replies, and the qos/show appctl print
> garbage values.
>
> Propagate the error, so that the caller can report an invalid queue.
>
> Fixes: 23c01b196ff7 ("netdev-dpdk: Add support for multi-queue QoS to the 
> DPDK datapath")
> Signed-off-by: David Marchand <[email protected]>

Thanks for the new revision, the changes look good to me.

Acked-by: Eelco Chaudron <[email protected]>
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to