On Thursday, June 29, 2023 2:21 AM, Jacob Keller wrote:
Is there no way to just ask the kernel what addresses you already have and avoid the need for a separate copy maintained in the driver? Or maybe thats something that could be added since this doesn't seem like a unique problem.
In fact, we absolutely can:
__dev_mc_unsync which is the opposite of __dev_mc_sync.
You can just call that during tear down with an unsync function and you shouldn't need to bother maintaining your own list at all.
Yes, you're right, I'll use _unsync. Thank you.
nfp_net_reconfig_wait_posted(nn);
}