From: "Rybalchenko, Kirill" <kirill.rybalchenko@intel.com>
To: "Xing, Beilei" <beilei.xing@intel.com>,
"Zhang, Qi Z" <qi.z.zhang@intel.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] [PATCH] net/i40e: remove unnecessary FDIR mask configuration
Date: Wed, 14 Mar 2018 15:16:30 +0000 [thread overview]
Message-ID: <696B43C21188DF4F9C9091AAE4789B824E2D65CC@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <1518332974-86392-1-git-send-email-beilei.xing@intel.com>
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Beilei Xing
> Sent: Sunday 11 February 2018 07:10
> To: Zhang, Qi Z <qi.z.zhang@intel.com>
> Cc: dev@dpdk.org
> Subject: [dpdk-dev] [PATCH] net/i40e: remove unnecessary FDIR mask
> configuration
>
> Remove unnecessary FDIR mask configuration, otherwise flow directory
> mask will be changed when configuring hash input set.
>
> Signed-off-by: Beilei Xing <beilei.xing@intel.com>
> ---
> drivers/net/i40e/rte_pmd_i40e.c | 4 ----
> 1 file changed, 4 deletions(-)
>
> diff --git a/drivers/net/i40e/rte_pmd_i40e.c
> b/drivers/net/i40e/rte_pmd_i40e.c index 1288c51..b684249 100644
> --- a/drivers/net/i40e/rte_pmd_i40e.c
> +++ b/drivers/net/i40e/rte_pmd_i40e.c
> @@ -3094,10 +3094,6 @@ rte_pmd_i40e_inset_set(uint16_t port, uint8_t
> pctype,
> return -ENOTSUP;
> }
>
> - /* Clear mask first */
> - for (i = 0; i < 2; i++)
> - i40e_check_write_reg(hw, I40E_GLQF_FD_MSK(i, pctype),
> 0);
> -
> inset_reg = inset->inset;
> for (i = 0; i < 2; i++)
> mask_reg[i] = (inset->mask[i].field_idx << 16) |
> --
> 2.5.5
Reviewed-by: Kirill Rybalchenko <kirill.rybalchenko@intel.com>
next prev parent reply other threads:[~2018-03-14 15:16 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-11 7:09 Beilei Xing
2018-03-14 15:16 ` Rybalchenko, Kirill [this message]
2018-03-26 3:15 ` Zhang, Qi Z
2018-03-29 6:33 ` [dpdk-dev] [PATCH v2] " Beilei Xing
2018-03-30 3:04 ` Zhang, Helin
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=696B43C21188DF4F9C9091AAE4789B824E2D65CC@IRSMSX108.ger.corp.intel.com \
--to=kirill.rybalchenko@intel.com \
--cc=beilei.xing@intel.com \
--cc=dev@dpdk.org \
--cc=qi.z.zhang@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).