OSDN Git Service

i40e: Use correct flag to enable egress traffic for unicast promisc
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Wed, 12 Jul 2017 09:46:10 +0000 (05:46 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 27 Aug 2017 22:43:53 +0000 (15:43 -0700)
commite53b382f3a207690fc0411a3b39fbd21d7470cfc
tree54efe920fdc4e5e459e153eb09b845acd62b2738
parentb5d5504aa1e961fc1f87ee7b092bf5ce1a7bf0de
i40e: Use correct flag to enable egress traffic for unicast promisc

Albeit, we usually set true promiscuous mode for both multicast and
unicast at the same time - however, it is possible to set it
individually, so using allmulti flag which is only for allmulticast might
caused unwanted behavior in mirroring egress traffic promiscuous for
unicast in VF.

Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@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