net/mlx5: update prerequisites for upcoming enhancements
[dpdk.git] / drivers / net / mlx5 / mlx5_rxmode.c
index 3a55f63..51e2aca 100644 (file)
@@ -67,11 +67,9 @@ static const struct special_flow_init special_flow_init[] = {
                        1 << HASH_RXQ_TCPV4 |
                        1 << HASH_RXQ_UDPV4 |
                        1 << HASH_RXQ_IPV4 |
-#ifdef HAVE_FLOW_SPEC_IPV6
                        1 << HASH_RXQ_TCPV6 |
                        1 << HASH_RXQ_UDPV6 |
                        1 << HASH_RXQ_IPV6 |
-#endif /* HAVE_FLOW_SPEC_IPV6 */
                        1 << HASH_RXQ_ETH |
                        0,
                .per_vlan = 0,
@@ -82,10 +80,8 @@ static const struct special_flow_init special_flow_init[] = {
                .hash_types =
                        1 << HASH_RXQ_UDPV4 |
                        1 << HASH_RXQ_IPV4 |
-#ifdef HAVE_FLOW_SPEC_IPV6
                        1 << HASH_RXQ_UDPV6 |
                        1 << HASH_RXQ_IPV6 |
-#endif /* HAVE_FLOW_SPEC_IPV6 */
                        1 << HASH_RXQ_ETH |
                        0,
                .per_vlan = 0,
@@ -96,15 +92,12 @@ static const struct special_flow_init special_flow_init[] = {
                .hash_types =
                        1 << HASH_RXQ_UDPV4 |
                        1 << HASH_RXQ_IPV4 |
-#ifdef HAVE_FLOW_SPEC_IPV6
                        1 << HASH_RXQ_UDPV6 |
                        1 << HASH_RXQ_IPV6 |
-#endif /* HAVE_FLOW_SPEC_IPV6 */
                        1 << HASH_RXQ_ETH |
                        0,
                .per_vlan = 1,
        },
-#ifdef HAVE_FLOW_SPEC_IPV6
        [HASH_RXQ_FLOW_TYPE_IPV6MULTI] = {
                .dst_mac_val = "\x33\x33\x00\x00\x00\x00",
                .dst_mac_mask = "\xff\xff\x00\x00\x00\x00",
@@ -115,7 +108,6 @@ static const struct special_flow_init special_flow_init[] = {
                        0,
                .per_vlan = 1,
        },
-#endif /* HAVE_FLOW_SPEC_IPV6 */
 };
 
 /**