Messages in this thread | | | From | Haiyang Zhang <> | Subject | RE: [PATCH] Implement Hyper-V netvsc_get_channels() ethool op | Date | Thu, 26 Feb 2015 21:01:45 +0000 |
| |
> -----Original Message----- > From: Andrew Schwartzmeyer [mailto:andrew@schwartzmeyer.com] > Subject: [PATCH] Implement Hyper-V netvsc_get_channels() ethool op
Please add net-next to the subject (the patch should also be based on that tree). Also the "hyperv: " word should come first. Like this: [PATCH net-next] hyperv: Implement netvsc_get_channels() ethool op
> --- a/drivers/net/hyperv/rndis_filter.c > +++ b/drivers/net/hyperv/rndis_filter.c > @@ -1094,6 +1094,7 @@ int rndis_filter_device_add(struct hv_device *dev,
On top part of this function, you also need to initialize max_chn = 1 around here: /* Initialize the rndis device */ net_device = hv_get_drvdata(dev); net_device->num_chn = 1;
because the query for rsscap.num_recv_que is not done on all VSP versions.
Thanks, - Haiyang
| |