Thread (18 messages) flat view 18 messages, 2 authors, 2025-02-13

Re: [PATCH net-next v7 3/6] net: libwx: Redesign flow when sriov is enabled

From: "mengyuanlou@net-swift.com" <mengyuanlou@net-swift.com>
Date: 2025-02-11 11:17:57

2025年2月8日 09:15,Jakub Kicinski [off-list ref] 写道:

On Thu,  6 Feb 2025 18:37:47 +0800 mengyuanlou wrote:
quoted
+ 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.
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help