net/bnxt: fix ring and context memory allocation
Use requested socket ID when allocating memory for transmit rings,
receive rings, and completion queues. Use device NUMA ID when
allocating context memory, notification queue rings, async
completion queue rings, and VNIC attributes.
Fixes:
6eb3cc2294fd ("net/bnxt: add initial Tx code")
Fixes:
9738793f28ec ("net/bnxt: add VNIC functions and structs")
Fixes:
f8168ca0e690 ("net/bnxt: support thor controller")
Fixes:
bd0a14c99f65 ("net/bnxt: use dedicated CPR for async events")
Fixes:
683e5cf79249 ("net/bnxt: use common NQ ring")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>