net/bnxt: fix corruption of session details
authorKishore Padmanabha <kishore.padmanabha@broadcom.com>
Fri, 9 Oct 2020 11:11:18 +0000 (16:41 +0530)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 16 Oct 2020 17:47:58 +0000 (19:47 +0200)
commitb5fc3ade12a2aa709594f929c36eaea090947b8c
tree7dfa01634ed8244691c9db1ad960c80ecbd2b875
parentfc544b5460491195a2cdd1c75da9bbba3f6e0d98
net/bnxt: fix corruption of session details

The session details that is shared among multiple ports
need to be outside the bnxt structure.

Fixes: 70e64b27af5b ("net/bnxt: support ULP session manager cleanup")
Cc: stable@dpdk.org
Signed-off-by: Kishore Padmanabha <kishore.padmanabha@broadcom.com>
Reviewed-by: Mike Baucom <michael.baucom@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/tf_ulp/bnxt_ulp.c