add flexible payload setting in eth_conf

Signed-off-by: jingjing.wu <jingjing.wu at intel.com>
---
 lib/librte_ether/rte_ethdev.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h
index b658cf4..e14bbde 100644
--- a/lib/librte_ether/rte_ethdev.h
+++ b/lib/librte_ether/rte_ethdev.h
@@ -715,6 +715,8 @@ struct rte_fdir_conf {
        uint8_t flexbytes_offset;
        /** RX queue of packets matching a "drop" filter in perfect mode. */
        uint8_t drop_queue;
+       struct rte_eth_fdir_flex_conf flex_conf;
+       /**< Flex payload configuration. */
 };

 /**
-- 
1.8.1.4

Reply via email to