From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 609A6A328D for ; Tue, 22 Oct 2019 09:44:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 1F1C04C8E; Tue, 22 Oct 2019 09:44:16 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 028C4493D; Tue, 22 Oct 2019 09:44:13 +0200 (CEST) X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 22 Oct 2019 00:44:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,326,1566889200"; d="scan'208";a="191378632" Received: from yexl-server.sh.intel.com (HELO localhost) ([10.67.117.17]) by orsmga008.jf.intel.com with ESMTP; 22 Oct 2019 00:44:11 -0700 Date: Tue, 22 Oct 2019 15:41:07 +0800 From: Ye Xiaolong To: Wei Zhao Cc: dev@dpdk.org, stable@dpdk.org Message-ID: <20191022074107.GC51382@intel.com> References: <1571726366-34952-1-git-send-email-wei.zhao1@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1571726366-34952-1-git-send-email-wei.zhao1@intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Subject: Re: [dpdk-dev] [PATCH] net/ice: fix queue index for switch filter X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On 10/22, Wei Zhao wrote: >When calculate queue index for queue action in >switch filter, vsi base queue should be included. > >Cc: stable@dpdk.org >Fixes: 24dc00c30907 ("net/ice: enable switch filter") Should be: Fixes: 57c4f2693588 ("net/ice: enable switch filter") > >Signed-off-by: Wei Zhao >--- > drivers/net/ice/ice_switch_filter.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/drivers/net/ice/ice_switch_filter.c b/drivers/net/ice/ice_switch_filter.c >index 6c96b6f..e1eaf91 100644 >--- a/drivers/net/ice/ice_switch_filter.c >+++ b/drivers/net/ice/ice_switch_filter.c >@@ -926,7 +926,7 @@ ice_switch_parse_action(struct ice_pf *pf, > uint16_t valid_qgrop_number[MAX_QGRP_NUM_TYPE] = { > 2, 4, 8, 16, 32, 64, 128}; > >- base_queue = pf->base_queue; >+ base_queue = pf->base_queue + vsi->base_queue; > for (action = actions; action->type != > RTE_FLOW_ACTION_TYPE_END; action++) { > action_type = action->type; >-- >2.7.5 > Reviewed-by: Xiaolong Ye