net/bnxt: fix storing MAC address twice
authorKalesh AP <kalesh-anakkur.purayil@broadcom.com>
Fri, 15 May 2020 05:04:36 +0000 (22:04 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:57 +0000 (20:35 +0200)
commit86421846cc20e963e5b6878724727abd427cd1b6
tree5f95c61fef83e00712f37dc851ce812839605ca5
parent39395b9d41aff5488db4924df94098abbe4d4e8c
net/bnxt: fix storing MAC address twice

We are maintaining MAC address twice which is unnecessary.
This patch removes the copy which helps reduce size of bnxt structure.

Fixes: b7778e8a1c00 ("net/bnxt: refactor to properly allocate resources for PF/VF")
Cc: stable@dpdk.org
Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c