[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <FC1A7A5B-0648-407D-8F2F-0B300FB47710@net-swift.com>
Date: Tue, 11 Feb 2025 19:17:15 +0800
From: "mengyuanlou@...-swift.com" <mengyuanlou@...-swift.com>
To: Jakub Kicinski <kuba@...nel.org>
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
> 2025年2月8日 09:15,Jakub Kicinski <kuba@...nel.org> 写道:
>
> 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() ?
>
Thanks for reminding.
>
Powered by blists - more mailing lists