]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0b045879e6bad37476ae3c462674b4fcbe9d1d10
tree207670458b77c0a624389ee1f96840316bd1de9f
parent71bb13629da98fa826b5482c104600c836fe2a69
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