[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250207171552.35446145@kernel.org>
Date: Fri, 7 Feb 2025 17:15:52 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: mengyuanlou <mengyuanlou@...-swift.com>
Cc: netdev@...r.kernel.org, jiawenwu@...stnetic.com,
duanqiangwen@...-swift.com
Subject: Re: [PATCH net-next v7 3/6] net: libwx: Redesign flow when sriov is
enabled
On Thu, 6 Feb 2025 18:37:47 +0800 mengyuanlou wrote:
> + vector_reg = (vfinfo->vf_mc_hashes[j] >> 5) &
> + GENMASK(6, 0);
> + vector_bit = vfinfo->vf_mc_hashes[j] & GENMASK(4, 0);
Can you add proper defines for these fields and use FIELD_GET() ?
Powered by blists - more mailing lists