From: Tony Nguyen <anthony.l.nguyen@intel.com>
To: <davem@davemloft.net>, <kuba@kernel.org>, <pabeni@redhat.com>,
<edumazet@google.com>, <netdev@vger.kernel.org>
Subject: Re: [PATCH net 0/3][pull request] Intel Wired LAN Driver Updates 2023-12-12 (iavf)
Date: Wed, 13 Dec 2023 13:26:33 -0800 [thread overview]
Message-ID: <84e12519-04dc-bd80-bc34-8cf50d7898ce@intel.com> (raw)
In-Reply-To: <20231212203613.513423-1-anthony.l.nguyen@intel.com>
On 12/12/2023 12:36 PM, Tony Nguyen wrote:
> This series contains updates to iavf driver only.
>
> Piotr reworks Flow Director states to deal with issues in restoring
> filters.
>
> Slawomir fixes shutdown processing as it was missing needed calls.
>
> The following are changes since commit 810c38a369a0a0ce625b5c12169abce1dd9ccd53:
> net/rose: Fix Use-After-Free in rose_ioctl
> and are available in the git repository at:
> git://git.kernel.org/pub/scm/linux/kernel/git/tnguy/net-queue 40GbE
I forgot to add that this will conflict when merging with net-next.
Resolution:
@@@ -1435,11 -1436,16 +1435,15 @@@ static int iavf_add_fdir_ethtool(struc
spin_lock_bh(&adapter->fdir_fltr_lock);
iavf_fdir_list_add_fltr(adapter, fltr);
adapter->fdir_active_fltr++;
- fltr->state = IAVF_FDIR_FLTR_ADD_REQUEST;
- spin_unlock_bh(&adapter->fdir_fltr_lock);
- if (adapter->link_up) {
+
- iavf_schedule_aq_request(adapter, IAVF_FLAG_AQ_ADD_FDIR_FILTER);
++ if (adapter->link_up)
+ fltr->state = IAVF_FDIR_FLTR_ADD_REQUEST;
- adapter->aq_required |= IAVF_FLAG_AQ_ADD_FDIR_FILTER;
- } else {
++ else
+ fltr->state = IAVF_FDIR_FLTR_INACTIVE;
- }
+ spin_unlock_bh(&adapter->fdir_fltr_lock);
+ if (adapter->link_up)
- mod_delayed_work(adapter->wq, &adapter->watchdog_task, 0);
++ iavf_schedule_aq_request(adapter,
IAVF_FLAG_AQ_ADD_FDIR_FILTER);
ret:
if (err && fltr)
kfree(fltr);
@@@ -1469,6 -1475,12 +1473,11 @@@ static int iavf_del_fdir_ethtool(struc
if (fltr) {
if (fltr->state == IAVF_FDIR_FLTR_ACTIVE) {
fltr->state = IAVF_FDIR_FLTR_DEL_REQUEST;
- adapter->aq_required |=
IAVF_FLAG_AQ_DEL_FDIR_FILTER;
+ } else if (fltr->state == IAVF_FDIR_FLTR_INACTIVE) {
+ list_del(&fltr->list);
+ kfree(fltr);
+ adapter->fdir_active_fltr--;
+ fltr = NULL;
} else {
err = -EBUSY;
next prev parent reply other threads:[~2023-12-13 21:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-12-12 20:36 [PATCH net 0/3][pull request] Intel Wired LAN Driver Updates 2023-12-12 (iavf) Tony Nguyen
2023-12-12 20:36 ` [PATCH net 1/3] iavf: Introduce new state machines for flow director Tony Nguyen
2023-12-12 20:36 ` [PATCH net 2/3] iavf: Handle ntuple on/off based on " Tony Nguyen
2023-12-12 20:36 ` [PATCH net 3/3] iavf: Fix iavf_shutdown to call iavf_remove instead iavf_close Tony Nguyen
2023-12-13 21:26 ` Tony Nguyen [this message]
2023-12-14 6:10 ` [PATCH net 0/3][pull request] Intel Wired LAN Driver Updates 2023-12-12 (iavf) 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=84e12519-04dc-bd80-bc34-8cf50d7898ce@intel.com \
--to=anthony.l.nguyen@intel.com \
--cc=davem@davemloft.net \
--cc=edumazet@google.com \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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.