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
- [ovs-dev] [PATCH v2 00/15] Refactoring netdev_dpdk. David Marchand via dev
- [ovs-dev] [PATCH v2 02/15] netdev-dpdk: Cleanu... David Marchand via dev
- Re: [ovs-dev] [PATCH v2 02/15] netdev-dpdk... Kevin Traynor via dev
- [ovs-dev] [PATCH v2 04/15] netdev-dpdk: Propag... David Marchand via dev
- Re: [ovs-dev] [PATCH v2 04/15] netdev-dpdk... Eelco Chaudron via dev
- Re: [ovs-dev] [PATCH v2 04/15] netdev-dpdk... Kevin Traynor via dev
- [ovs-dev] [PATCH v2 03/15] netdev-dpdk: Separa... David Marchand via dev
- Re: [ovs-dev] [PATCH v2 03/15] netdev-dpdk... Kevin Traynor via dev
- [ovs-dev] [PATCH v2 08/15] netdev-dpdk: Narrow... David Marchand via dev
- Re: [ovs-dev] [PATCH v2 08/15] netdev-dpdk... David Marchand via dev
- Re: [ovs-dev] [PATCH v2 08/15] netdev-dpdk... Eelco Chaudron via dev
- Re: [ovs-dev] [PATCH v2 08/15] netdev-dpdk... Kevin Traynor via dev
- [ovs-dev] [PATCH v2 12/15] netdev-dpdk: Move Q... David Marchand via dev
- Re: [ovs-dev] [PATCH v2 12/15] netdev-dpdk... Kevin Traynor via dev
- [ovs-dev] [PATCH v2 15/15] netdev-dpdk: Split ... David Marchand via dev
