net/bnxt: fix allocation of ULP context
authorMike Baucom <michael.baucom@broadcom.com>
Tue, 12 May 2020 20:25:28 +0000 (16:25 -0400)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 18 May 2020 18:35:57 +0000 (20:35 +0200)
commit86015ee3ad981c32ac7102d947abc57f6c4bb531
treefba08c748c8f72a4cd14606dc107a5971ba7b100
parent86421846cc20e963e5b6878724727abd427cd1b6
net/bnxt: fix allocation of ULP context

Fix to allocate bnxt ulp context when TRUFLOW is enabled.
This patch reduces the size of struct bnxt.

Fixes: 313ac35ac701 ("net/bnxt: support ULP session manager init")

Signed-off-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Venkat Duvvuru <venkatkumar.duvvuru@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_rxr.c
drivers/net/bnxt/tf_ulp/bnxt_ulp.c