ice: Allow egress control packets from PF_VSI
authorDave Ertman <david.m.ertman@intel.com>
Mon, 29 Jul 2019 09:04:43 +0000 (02:04 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Aug 2019 16:17:45 +0000 (09:17 -0700)
commit0c3a6101ff2df98d5d960bda9b159d7c4a952f27
tree207670458b77c0a624389ee1f96840316bd1de9f
parent6d24e14140053febc5ac1ce46baca6a4334c5f6c
ice: Allow egress control packets from PF_VSI

For control packets (i.e. LLDP packets) to be able to egress
from the main VSI, a bit has to be set in the TX_descriptor.
This should only be done for the main VSI and only if the
FW LLDP agent is disabled.  A bit to allow this also has to
be set in the VSI context.

Add the logic to add the necessary bits in the VSI context
for the PF_VSI and the TX_descriptors for control packets
egressing the PF_VSI.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_lib.c
drivers/net/ethernet/intel/ice/ice_txrx.c