net/bnxt: fix allocation of link info struct
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Fri, 15 May 2020 11:05:15 +0000 (16:35 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:57 +0000 (20:35 +0200)
commit986fa3ba835903461a61e60e58faef4114a92145
treec723b4cb1fa76d4321c920bb68674ea1ef449a58
parent1e2f8aca2cc108559fb9d823fc88dc342048500d
net/bnxt: fix allocation of link info struct

Dynamically alloc link info structure.

Fixes: 1d0704f4d793 ("net/bnxt: add device configure operation")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c