From: Leon Romanovsky <leon@kernel.org>
To: Tony Nguyen <anthony.l.nguyen@intel.com>
Cc: davem@davemloft.net, kuba@kernel.org, pabeni@redhat.com,
edumazet@google.com, netdev@vger.kernel.org,
Brett Creeley <brett.creeley@intel.com>,
Robert Malz <robertx.malz@intel.com>,
Jesse Brandeburg <jesse.brandeburg@intel.com>,
Piotr Raczynski <piotr.raczynski@intel.com>,
Jakub Andrysiak <jakub.andrysiak@intel.com>
Subject: Re: [PATCH net 2/4] ice: Fix ice_cfg_rdma_fltr() to only update relevant fields
Date: Wed, 29 Mar 2023 15:08:18 +0300 [thread overview]
Message-ID: <20230329120818.GQ831478@unreal> (raw)
In-Reply-To: <20230328172035.3904953-3-anthony.l.nguyen@intel.com>
On Tue, Mar 28, 2023 at 10:20:33AM -0700, Tony Nguyen wrote:
> From: Brett Creeley <brett.creeley@intel.com>
>
> The current implementation causes ice_vsi_update() to update all VSI
> fields based on the cached VSI context. This also assumes that the
> ICE_AQ_VSI_PROP_Q_OPT_VALID bit is set. This can cause problems if the
> VSI context is not correctly synced by the driver. Fix this by only
> updating the fields that correspond to ICE_AQ_VSI_PROP_Q_OPT_VALID.
> Also, make sure to save the updated result in the cached VSI context
> on success.
>
> Fixes: 348048e724a0 ("ice: Implement iidc operations")
> Co-developed-by: Robert Malz <robertx.malz@intel.com>
> Signed-off-by: Robert Malz <robertx.malz@intel.com>
> Signed-off-by: Brett Creeley <brett.creeley@intel.com>
> Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
> Reviewed-by: Piotr Raczynski <piotr.raczynski@intel.com>
> Tested-by: Jakub Andrysiak <jakub.andrysiak@intel.com>
> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
> ---
> drivers/net/ethernet/intel/ice/ice_switch.c | 26 +++++++++++++++++----
> 1 file changed, 22 insertions(+), 4 deletions(-)
>
Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
next prev parent reply other threads:[~2023-03-29 12:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-28 17:20 [PATCH net 0/4][pull request] Intel Wired LAN Driver Updates 2023-03-28 (ice) Tony Nguyen
2023-03-28 17:20 ` [PATCH net 1/4] ice: fix W=1 headers mismatch Tony Nguyen
2023-03-29 12:06 ` Leon Romanovsky
2023-03-28 17:20 ` [PATCH net 2/4] ice: Fix ice_cfg_rdma_fltr() to only update relevant fields Tony Nguyen
2023-03-29 12:08 ` Leon Romanovsky [this message]
2023-03-28 17:20 ` [PATCH net 3/4] ice: add profile conflict check for AVF FDIR Tony Nguyen
2023-03-29 12:08 ` Leon Romanovsky
2023-03-28 17:20 ` [PATCH net 4/4] ice: fix invalid check for empty list in ice_sched_assoc_vsi_to_agg() Tony Nguyen
2023-03-29 12:08 ` Leon Romanovsky
2023-03-30 4:50 ` [PATCH net 0/4][pull request] Intel Wired LAN Driver Updates 2023-03-28 (ice) patchwork-bot+netdevbpf
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=20230329120818.GQ831478@unreal \
--to=leon@kernel.org \
--cc=anthony.l.nguyen@intel.com \
--cc=brett.creeley@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=jakub.andrysiak@intel.com \
--cc=jesse.brandeburg@intel.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=piotr.raczynski@intel.com \
--cc=robertx.malz@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).