Re: [PATCH v2 16/18] net/ixgbe: create consistent filter
From: Ferruh Yigit <hidden>
Date: 2017-01-06 17:26:35
From: Ferruh Yigit <hidden>
Date: 2017-01-06 17:26:35
On 12/30/2016 7:53 AM, Wei Zhao wrote:
This patch adds a function to create the flow directory filter. Signed-off-by: Wei Zhao <redacted> Signed-off-by: Wenzhuo Lu <redacted> --- v2: --add new error set function ---
<...>
+struct ixgbe_flow {
+ enum rte_filter_type filter_type;
+ void *rule;
+};It is possible to rename this struct to rte_flow, to prevent casting. Although functionally there is no difference.
+ /* * Structure to store private data for each driver instance (for each port). */