acl: fix native build on haswell with icc
[dpdk.git] / lib / librte_ether / rte_eth_ctrl.h
index 56dd7ae..ce224ad 100644 (file)
@@ -523,6 +523,8 @@ struct rte_eth_fdir_flow_ext {
        uint16_t vlan_tci;
        uint8_t flexbytes[RTE_ETH_FDIR_MAX_FLEXLEN];
        /**< It is filled by the flexible payload to match. */
+       uint8_t is_vf;   /**< 1 for VF, 0 for port dev */
+       uint16_t dst_id; /**< VF ID, available when is_vf is 1*/
 };
 
 /**
@@ -542,6 +544,7 @@ struct rte_eth_fdir_input {
 enum rte_eth_fdir_behavior {
        RTE_ETH_FDIR_ACCEPT = 0,
        RTE_ETH_FDIR_REJECT,
+       RTE_ETH_FDIR_PASSTHRU,
 };
 
 /**