OSDN Git Service

i40e: Remove unicast log when VF is leaving multicast mode.
authorCzeslaw Zagorski <czeslawx.zagorski@intel.com>
Tue, 2 Jul 2019 12:22:59 +0000 (08:22 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 5 Aug 2019 18:42:05 +0000 (11:42 -0700)
commit558e93c93f7843297752db6c491517b311bfb19a
tree9334f2ac44d05793eefe65e01cd139298eacf76d
parentb27223591606f59c1f7c042b8e3dc74affadf492
i40e: Remove unicast log when VF is leaving multicast mode.

This patch removes unicast log when VF is leaving multicast mode.
Added check of vf->vf_states &
I40E_VF_STATE_MC_PROMISC/I40E_VF_STATE_UC_PROMISC.
Without this commit, leaving multicast mode logs "unset unicast"
in dmsg.

Signed-off-by: Czeslaw Zagorski <czeslawx.zagorski@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c