]> git.droids-corp.org - dpdk.git/blobdiff - drivers/net/bnxt/bnxt_vnic.c
compress/qat: enable compression on GEN3
[dpdk.git] / drivers / net / bnxt / bnxt_vnic.c
index 14ad33b4e86c98c11ea7bb4515e13eaf4a8552cc..de5c14566deb54645452c36e9f754fa19dfa946c 100644 (file)
@@ -16,7 +16,7 @@
  * VNIC Functions
  */
 
-void prandom_bytes(void *dest_ptr, size_t len)
+void bnxt_prandom_bytes(void *dest_ptr, size_t len)
 {
        char *dest = (char *)dest_ptr;
        uint64_t rb;
@@ -172,7 +172,7 @@ int bnxt_alloc_vnic_attributes(struct bnxt *bp)
                                HW_HASH_KEY_SIZE);
                vnic->mc_list_dma_addr = vnic->rss_hash_key_dma_addr +
                                HW_HASH_KEY_SIZE;
-               prandom_bytes(vnic->rss_hash_key, HW_HASH_KEY_SIZE);
+               bnxt_prandom_bytes(vnic->rss_hash_key, HW_HASH_KEY_SIZE);
        }
 
        return 0;