aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/ethernet/intel/ice/ice_switch.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_switch.c b/drivers/net/ethernet/intel/ice/ice_switch.c
index 48864b59036a..22a14e2da94f 100644
--- a/drivers/net/ethernet/intel/ice/ice_switch.c
+++ b/drivers/net/ethernet/intel/ice/ice_switch.c
@@ -643,7 +643,12 @@ static void ice_fill_sw_info(struct ice_hw *hw, struct ice_fltr_info *fi)
643 fi->fltr_act == ICE_FWD_TO_VSI_LIST || 643 fi->fltr_act == ICE_FWD_TO_VSI_LIST ||
644 fi->fltr_act == ICE_FWD_TO_Q || 644 fi->fltr_act == ICE_FWD_TO_Q ||
645 fi->fltr_act == ICE_FWD_TO_QGRP)) { 645 fi->fltr_act == ICE_FWD_TO_QGRP)) {
646 fi->lb_en = true; 646 /* Setting LB for prune actions will result in replicated
647 * packets to the internal switch that will be dropped.
648 */
649 if (fi->lkup_type != ICE_SW_LKUP_VLAN)
650 fi->lb_en = true;
651
647 /* Set lan_en to TRUE if 652 /* Set lan_en to TRUE if
648 * 1. The switch is a VEB AND 653 * 1. The switch is a VEB AND
649 * 2 654 * 2