The shared attribute has been deprecated some time ago and will be removed in 21.11 [1]. Since its value was 0, let's simply rely on implicit init by not mentionning it.
1: https://git.dpdk.org/dpdk/commit/?id=92ef4b8f1688 Signed-off-by: David Marchand <david.march...@redhat.com> --- Note: this patch could go to the master branch too. --- lib/netdev-dpdk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c index ee5e528f75..6d3fd6beda 100644 --- a/lib/netdev-dpdk.c +++ b/lib/netdev-dpdk.c @@ -5279,7 +5279,7 @@ netdev_dpdk_rte_flow_query_count(struct netdev *netdev, struct rte_flow_query_count *query, struct rte_flow_error *error) { - struct rte_flow_action_count count = { .shared = 0, .id = 0 }; + struct rte_flow_action_count count = { .id = 0, }; const struct rte_flow_action actions[] = { { .type = RTE_FLOW_ACTION_TYPE_COUNT, -- 2.23.0 _______________________________________________ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev