910242bcf5
We are wrongly using a Rx side HWRM command set_rx_mask to configure VLAN anti-spoof. This being a Tx side feature, this patch tries to fix it. Since the HWRM command to do it is available only in the newer firmware versions, the patch verifies the firmware version before attempting to send the HWRM command to the firmware. Fixes: 36735a932ca7 ("net/bnxt: support set VF QOS and MAC anti spoof") Signed-off-by: Stephen Hurd <stephen.hurd@broadcom.com> Signed-off-by: Ajit Khaparde <ajit.khaparde@broadcom.com>