diff mbox series

[ovs-dev,dpdk-latest,v3,2/5] netdev-dpdk: Remove unused attribute from rte_flow rule.

Message ID 20211109160211.19707-3-david.marchand@redhat.com
State Accepted
Headers show
Series Fixes for DPDK v21.11 | expand

Commit Message

David Marchand Nov. 9, 2021, 4:02 p.m. UTC
The shared attribute has been deprecated some time ago and is removed
in 21.11 [1].
Since its value was 0, let's rely on implicit init by not mentionning it.

1: https://git.dpdk.org/dpdk/commit/?id=92ef4b8f1688

Signed-off-by: David Marchand <david.marchand@redhat.com>
---
 lib/netdev-dpdk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c
index 27b1b953f8..2130787da5 100644
--- a/lib/netdev-dpdk.c
+++ b/lib/netdev-dpdk.c
@@ -5277,7 +5277,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,