ethdev: add flow director flexible payload setting in port config
authorJingjing Wu <jingjing.wu@intel.com>
Fri, 21 Nov 2014 00:46:53 +0000 (08:46 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 24 Nov 2014 23:06:04 +0000 (00:06 +0100)
add flexible payload setting in eth_conf

Signed-off-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
lib/librte_ether/rte_ethdev.h

index 6d8aa2b..dadb3b7 100644 (file)
@@ -722,6 +722,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. */
 };
 
 /**