lkml.org 
[lkml]   [2023]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3] virtio-net: Fix probe of virtio-net on kvmtool
On Thu, 2 Mar 2023 04:48:38 -0500 Michael S. Tsirkin wrote:
> > Looks not the core can try to enable and disable features according to
> > the diff between features and hw_features
> >
> > static inline netdev_features_t netdev_get_wanted_features(
> > struct net_device *dev)
> > {
> > return (dev->features & ~dev->hw_features) | dev->wanted_features;
> > }
>
> yes what we do work according to code. So the documentation is wrong then?

It's definitely incomplete but which part are you saying is wrong?

\
 
 \ /
  Last update: 2023-03-27 00:43    [W:0.449 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site