X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_ether%2Frte_ethdev.h;h=1cfb76a61a1b772594cf8a8b7b5b5565197cc737;hb=46375cfa2cadb88f625feeb02bd6ec2eb43d9501;hp=55a4e42f4ed5a1aabbf008a426fa94d140bd856f;hpb=81f9db8ecc2cf7798cc3b38b01c42d0de9bca611;p=dpdk.git diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index 55a4e42f4e..1cfb76a61a 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -537,6 +537,11 @@ struct rte_fdir_masks { uint8_t vlan_prio; /** If set to 1, flexbytes is relevant in filters. */ uint8_t flexbytes; + /** If set to 1, set the IPv6 masks. Otherwise set the IPv4 masks. */ + uint8_t set_ipv6_mask; + /** When set to 1, comparison of destination IPv6 address with IP6AT + registers is meaningful. */ + uint8_t comp_ipv6_dst; /** Mask of Destination IPv4 Address. All bits set to 1 define the relevant bits to use in the destination address of an IPv4 packet when matching it against FDIR filters. */ @@ -548,6 +553,10 @@ struct rte_fdir_masks { /** Mask of Source IPv6 Address. All bits set to 1 define the relevant BYTES to use in the source address of an IPv6 packet when matching it against FDIR filters. */ + uint16_t dst_ipv6_mask; + /** Mask of Destination IPv6 Address. All bits set to 1 define the + relevant BYTES to use in the destination address of an IPv6 packet + when matching it against FDIR filters. */ uint16_t src_ipv6_mask; /** Mask of Source Port. All bits set to 1 define the relevant bits to use in the source port of an IP packets when matching it