Skip to contentSkip to conversation

ethdev: fix doc comment for struct rte_flow_action

PATCH Applied Jan Viktorin 4 participants 5 messages Jun 23, 2021 – Jul 1, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ethdev: fix doc comment for struct rte_flow_action

The struct rte_flow_action was missing from DPDK API documentation.

---
 lib/ethdev/rte_flow.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/ethdev/rte_flow.h +1 -1
index 961a5884fe..70f455d47d 100644
@@ -3278,7 +3278,7 @@ rte_flow_dynf_metadata_set(struct rte_mbuf *m, uint32_t v)
 	*RTE_FLOW_DYNF_METADATA(m) = v;
 }
 
-/*
+/**
  * Definition of a single action.
  *
  * A list of actions is terminated by a END action.
Signature · 1 line
2.32.0
Acked-by on v1 1/1
#1 lore raw

Hi Jan,

Quoted 24 lines

-----Original Message-----
From: Jan Viktorin <[email protected]>
Sent: Wednesday, June 23, 2021 12:18 PM

The struct rte_flow_action was missing from DPDK API documentation.

---
 lib/ethdev/rte_flow.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/ethdev/rte_flow.h index renamed from lib/ethdev/rte_flow.h +0 -0

961a5884fe..70f455d47d 100644

lib/ethdev/rte_flow.h +1 -1
@@ -3278,7 +3278,7 @@ rte_flow_dynf_metadata_set(struct rte_mbuf *m,
 uint32_t v)
 	*RTE_FLOW_DYNF_METADATA(m) = v;
 }
 
-/*
+/**
  * Definition of a single action.
  *
Quoted 3 lines

* A list of actions is terminated by a END action.
--
2.32.0

Thanks,
Ori

#2 lore raw
Quoted 31 lines · Ori Kam

Hi Jan,

Quoted 24 lines

-----Original Message-----
From: Jan Viktorin <[email protected]>
Sent: Wednesday, June 23, 2021 12:18 PM

The struct rte_flow_action was missing from DPDK API documentation.

---
 lib/ethdev/rte_flow.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/ethdev/rte_flow.h index renamed from lib/ethdev/rte_flow.h +0 -0

961a5884fe..70f455d47d 100644

lib/ethdev/rte_flow.h +1 -1
@@ -3278,7 +3278,7 @@ rte_flow_dynf_metadata_set(struct rte_mbuf *m,
 uint32_t v)
 	*RTE_FLOW_DYNF_METADATA(m) = v;
 }
 
-/*
+/**
  * Definition of a single action.
  *
Quoted 3 lines

* A list of actions is terminated by a END action.
--
2.32.0

Quoted 3 lines

Thanks,
Ori

Not that important, but it looks like a fix which should be backported to stable branches as well.
Shouldn't "Fixes:" be added with Cc to stable?

Andrew.

#3 lore raw
Quoted 34 lines · Andrew Rybchenko
Quoted 30 lines · Ori Kam

Hi Jan,

Quoted 24 lines

-----Original Message-----
From: Jan Viktorin <[email protected]>
Sent: Wednesday, June 23, 2021 12:18 PM

The struct rte_flow_action was missing from DPDK API documentation.

---
  lib/ethdev/rte_flow.h | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
lib/ethdev/rte_flow.h index renamed from lib/ethdev/rte_flow.h +0 -0

961a5884fe..70f455d47d 100644

lib/ethdev/rte_flow.h +1 -1
@@ -3278,7 +3278,7 @@ rte_flow_dynf_metadata_set(struct rte_mbuf *m,
 uint32_t v)
  	*RTE_FLOW_DYNF_METADATA(m) = v;
  }
 
-/*
+/**
   * Definition of a single action.
   *
Quoted 3 lines

* A list of actions is terminated by a END action.
--
2.32.0

Quoted 3 lines

Thanks,
Ori

Quoted 5 lines

Not that important, but it looks like a fix which should be backported to stable branches as well.
Shouldn't "Fixes:" be added with Cc to stable?

Andrew.

Thanks,
Aman

#4 lore raw
Quoted 40 lines · Aman Deep
Quoted 38 lines · Andrew Rybchenko
Quoted 30 lines · Ori Kam

Hi Jan,

Quoted 24 lines

-----Original Message-----
From: Jan Viktorin <[email protected]>
Sent: Wednesday, June 23, 2021 12:18 PM

The struct rte_flow_action was missing from DPDK API documentation.

---
  lib/ethdev/rte_flow.h | 2 +-

  1 file changed, 1 insertion(+), 1 deletion(-)
lib/ethdev/rte_flow.h index renamed from lib/ethdev/rte_flow.h +0 -0

961a5884fe..70f455d47d 100644

lib/ethdev/rte_flow.h +1 -1
@@ -3278,7 +3278,7 @@ rte_flow_dynf_metadata_set(struct rte_mbuf *m,
 uint32_t v)
       *RTE_FLOW_DYNF_METADATA(m) = v;
   }
 
-/*
+/**
    * Definition of a single action.
    *
Quoted 3 lines

   * A list of actions is terminated by a END action.

Signature · 1 line
2.32.0
Quoted 3 lines

Thanks,
Ori

Not that important, but it looks like a fix which should be backported to stable branches as well.
Shouldn't "Fixes:" be added with Cc to stable?

Quoted 5 lines
Quoted 1 line

Andrew.

Thanks,
Aman

ethdev: fix doc comment for a single action struct

Fixes 3850cf0c8c37 ("ethdev: add tunnel encap/decap actions")

Applied, thanks.