]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_flow.c
net/mlx5: fix flow age event triggering
[dpdk.git] / drivers / net / bnxt / bnxt_flow.c
index e3906b47791b3d803a2dee03fb3381c7062a087f..844bf1520f5099bef5aef85db648e7b645c0051f 100644 (file)
@@ -1404,8 +1404,8 @@ skip_vnic_alloc:
                                /* If hash key has not been specified,
                                 * use random hash key.
                                 */
-                               prandom_bytes(vnic->rss_hash_key,
-                                             HW_HASH_KEY_SIZE);
+                               bnxt_prandom_bytes(vnic->rss_hash_key,
+                                                  HW_HASH_KEY_SIZE);
                        } else {
                                if (rss->key_len > HW_HASH_KEY_SIZE)
                                        memcpy(vnic->rss_hash_key,