Re: [PATCH v6 net-next 03/12] flow_offload: add index to flow_action_entry structure

From
Jamal Hadi Salim <jhs@mojatatu.com>
Date
2021-12-11 19:09:50
Reply to
Simon Horman, 2021-12-09
On 2021-12-09 04:27, Simon Horman wrote:
quoted hunk ↗ jump to hunk
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h
index 3961461d9c8b..f6970213497a 100644
--- a/include/net/flow_offload.h
+++ b/include/net/flow_offload.h
@@ -197,6 +197,7 @@ void flow_action_cookie_destroy(struct flow_action_cookie *cookie);
  
  struct flow_action_entry {
  	enum flow_action_id		id;
+	u32				index;
  	enum flow_action_hw_stats	hw_stats;
  	action_destr			destructor;
  	void				*destructor_priv;

Because "index" is such a common noun - can you name this one
"hw_index" for grep-ability?

cheers,
jamal
Thread (42 messages) 42 messages, 6 authors, last reply 2021-12-17
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help