]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/mlx4/mlx4_flow.c
build: fix essential drivers in disable list
[dpdk.git] / drivers / net / mlx4 / mlx4_flow.c
index 43a65abcc03f024805f3a82f458c31f81aa0b51f..71ea91b3fb820a69c3e414615a49d46cbdf95093 100644 (file)
@@ -791,7 +791,8 @@ fill:
                        rss = action->conf;
                        /* Default RSS configuration if none is provided. */
                        if (rss->key_len) {
-                               rss_key = rss->key;
+                               rss_key = rss->key ?
+                                         rss->key : mlx4_rss_hash_key_default;
                                rss_key_len = rss->key_len;
                        } else {
                                rss_key = mlx4_rss_hash_key_default;