net/bnxt: support trusted VF
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Sat, 29 Sep 2018 02:00:00 +0000 (19:00 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Thu, 11 Oct 2018 16:53:48 +0000 (18:53 +0200)
commitb42c15c83e882621aea730a71c7fab1481e14051
treef8c1f69501efa3b4a42eb6e42869cff49947702a
parent2ecdf174420396279514f35c4d1e037b8ddfc2fd
net/bnxt: support trusted VF

In the current model, VFs are not trusted.
So it is not allowed to send many HWRM commands.
Newer firmware has added support to allow VF to be trusted.
Now the VF queries if it is a trusted entity and based on that
it can send HWRM commands to the firmware.

Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
drivers/net/bnxt/bnxt.h
drivers/net/bnxt/bnxt_cpr.c
drivers/net/bnxt/bnxt_ethdev.c
drivers/net/bnxt/bnxt_hwrm.c