Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Jiawen Wu
Thu, 08 Oct 2026 02:19
RE: [PATCH net v2 1/3] net: libwx: keep NGBE OCP cards MAC enabled
Author: Jiawen Wu
Date: Thu, 08 Oct 2026 02:19
Date: Thu, 08 Oct 2026 02:19
16 lines
7521 bytes
7521 bytes
On Wed, Sep 30, 2026 9:49 AM, Jakub Kicinski wrote:
> On Thu, 24 Sep 2026 10:01:47 +0800 Jiawen Wu wrote:
> > if (!(((wx->subsystem_device_id & WX_NCSI_MASK) == WX_NCSI_SUP) ||
> > - ((wx->subsystem_device_id & WX_WOL_MASK) == WX_WOL_SUP))) {
> > + ((wx->subsystem_device_id & WX_WOL_MASK) == WX_WOL_SUP) ||
> > + (wx->mac.type == wx_mac_em && (wx->subsystem_device_id & 0xFF) == 0x40))) {
>
> This condition looks way too magical for upstream
>
> Add some wx_has_ncsi() helper and add it there?
> At least then the meaning is clear, here it's next to WOL, no idea what
> it's supposed to mean.
I had planned to fix this issue temporarily, and unify to use 'wx->ncsi_enabled'
in a later net-next patch. Looks like I'm messing things up. I'll fix it all in V3.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads