From: Ye Xiaolong <xiaolong.ye@intel.com>
To: Wei Zhao <wei.zhao1@intel.com>
Cc: dev@dpdk.org, stable@dpdk.org
Subject: Re: [dpdk-dev] [PATCH] net/ice: fix queue index for switch filter
Date: Tue, 22 Oct 2019 15:41:07 +0800 [thread overview]
Message-ID: <20191022074107.GC51382@intel.com> (raw)
In-Reply-To: <1571726366-34952-1-git-send-email-wei.zhao1@intel.com>
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 <wei.zhao1@intel.com>
>---
> 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 <xiaolong.ye@intel.com>
next prev parent reply other threads:[~2019-10-22 7:44 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-22 6:39 [dpdk-dev] [PATCH] net/ice: fix queue index for switch filter Wei Zhao
2019-10-22 7:15 ` [dpdk-dev] [PATCH v2] " Wei Zhao
2019-10-22 7:41 ` Ye Xiaolong [this message]
2019-10-22 7:45 ` [dpdk-dev] [PATCH] " Ye Xiaolong
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191022074107.GC51382@intel.com \
--to=xiaolong.ye@intel.com \
--cc=dev@dpdk.org \
--cc=stable@dpdk.org \
--cc=wei.zhao1@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.