net/bnxt: update trusted VF status only when it changes
authorAjit Khaparde <ajit.khaparde@broadcom.com>
Thu, 10 Oct 2019 01:41:46 +0000 (18:41 -0700)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 23 Oct 2019 14:43:08 +0000 (16:43 +0200)
commit305d1fd39ab02bf86c211528971689e52555ff45
treec90477406dfd9755ad37f61560ac5c0339a2156b
parentf7b1b6b12da22be3016154c1399d0415fae0f927
net/bnxt: update trusted VF status only when it changes

We are currently logging trusted VF information everytime a VF config
change is indicated by the async message. Update it only when new
setting is different from the current setting.

Fixes: b42c15c83e88 ("net/bnxt: support trusted VF")
Cc: stable@dpdk.org
Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_hwrm.c