From: <gregkh@linuxfoundation.org>
To: davem@davemloft.net,duanqiangwen@net-swift.com,gregkh@linuxfoundation.org,patches@lists.linux.dev
Cc: <stable-commits@vger.kernel.org>
Subject: Patch "[PATCH net] Revert "net: libwx: fix alloc msix vectors failed"" has been added to the 6.6-stable tree
Date: Tue, 01 Oct 2024 10:20:55 +0200 [thread overview]
Message-ID: <2024100155-igloo-willing-518f@gregkh> (raw)
In-Reply-To: <20240930073327.130343-1-duanqiangwen@net-swift.com>
This is a note to let you know that I've just added the patch titled
[PATCH net] Revert "net: libwx: fix alloc msix vectors failed"
to the 6.6-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
revert-net-libwx-fix-alloc-msix-vectors-failed.patch
and it can be found in the queue-6.6 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@vger.kernel.org> know about it.
From duanqiangwen@net-swift.com Tue Oct 1 10:14:13 2024
From: Duanqiang Wen <duanqiangwen@net-swift.com>
Date: Mon, 30 Sep 2024 15:33:27 +0800
Subject: [PATCH net] Revert "net: libwx: fix alloc msix vectors failed"
To: stable@vger.kernel.org, patches@lists.linux.dev, gregkh@linuxfoundation.org, davem@davemloft.net, ashal@kernel.org
Cc: Duanqiang Wen <duanqiangwen@net-swift.com>
Message-ID: <20240930073327.130343-1-duanqiangwen@net-swift.com>
From: Duanqiang Wen <duanqiangwen@net-swift.com>
This reverts commit 69197dfc64007b5292cc960581548f41ccd44828.
commit 937d46ecc5f9 ("net: wangxun: add ethtool_ops for
channel number") changed NIC misc irq from most significant
bit to least significant bit, the former condition is not
required to apply this patch, because we only need to set
irq affinity for NIC queue irq vectors.
this patch is required after commit 937d46ecc5f9 ("net: wangxun:
add ethtool_ops for channel number") was applied, so this is only
relevant to 6.6.y branch.
Signed-off-by: Duanqiang Wen <duanqiangwen@net-swift.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
drivers/net/ethernet/wangxun/libwx/wx_lib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/net/ethernet/wangxun/libwx/wx_lib.c
+++ b/drivers/net/ethernet/wangxun/libwx/wx_lib.c
@@ -1585,7 +1585,7 @@ static void wx_set_num_queues(struct wx
*/
static int wx_acquire_msix_vectors(struct wx *wx)
{
- struct irq_affinity affd = { .pre_vectors = 1 };
+ struct irq_affinity affd = {0, };
int nvecs, i;
nvecs = min_t(int, num_online_cpus(), wx->mac.max_msix_vectors);
Patches currently in stable-queue which might be from duanqiangwen@net-swift.com are
queue-6.6/revert-net-libwx-fix-alloc-msix-vectors-failed.patch
prev parent reply other threads:[~2024-10-01 8:24 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-30 7:33 [PATCH net] Revert "net: libwx: fix alloc msix vectors failed" Duanqiang Wen
2024-10-01 8:20 ` gregkh [this message]
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=2024100155-igloo-willing-518f@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=davem@davemloft.net \
--cc=duanqiangwen@net-swift.com \
--cc=patches@lists.linux.dev \
--cc=stable-commits@vger.kernel.org \
/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