hv_netvsc: fix typos in code comments
Fix all typos from hyperv netvsc code comments. Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com> Cc: "K. Y. Srinivasan" <kys@microsoft.com> Cc: Haiyang Zhang <haiyangz@microsoft.com> Cc: Stephen Hemminger <sthemmin@microsoft.com> Cc: Sasha Levin <sashal@kernel.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: "Alessandro Pilotti" <apilotti@cloudbasesolutions.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
17d9125689
commit
52d3b49491
drivers/net/hyperv
|
@ -1181,7 +1181,7 @@ enum ndis_per_pkt_info_type {
|
||||||
|
|
||||||
enum rndis_per_pkt_info_interal_type {
|
enum rndis_per_pkt_info_interal_type {
|
||||||
RNDIS_PKTINFO_ID = 1,
|
RNDIS_PKTINFO_ID = 1,
|
||||||
/* Add more memebers here */
|
/* Add more members here */
|
||||||
|
|
||||||
RNDIS_PKTINFO_MAX
|
RNDIS_PKTINFO_MAX
|
||||||
};
|
};
|
||||||
|
|
|
@ -1331,7 +1331,7 @@ void netvsc_channel_cb(void *context)
|
||||||
prefetch(hv_get_ring_buffer(rbi) + rbi->priv_read_index);
|
prefetch(hv_get_ring_buffer(rbi) + rbi->priv_read_index);
|
||||||
|
|
||||||
if (napi_schedule_prep(&nvchan->napi)) {
|
if (napi_schedule_prep(&nvchan->napi)) {
|
||||||
/* disable interupts from host */
|
/* disable interrupts from host */
|
||||||
hv_begin_read(rbi);
|
hv_begin_read(rbi);
|
||||||
|
|
||||||
__napi_schedule_irqoff(&nvchan->napi);
|
__napi_schedule_irqoff(&nvchan->napi);
|
||||||
|
|
|
@ -370,7 +370,7 @@ static u32 fill_pg_buf(struct page *page, u32 offset, u32 len,
|
||||||
{
|
{
|
||||||
int j = 0;
|
int j = 0;
|
||||||
|
|
||||||
/* Deal with compund pages by ignoring unused part
|
/* Deal with compound pages by ignoring unused part
|
||||||
* of the page.
|
* of the page.
|
||||||
*/
|
*/
|
||||||
page += (offset >> PAGE_SHIFT);
|
page += (offset >> PAGE_SHIFT);
|
||||||
|
@ -2123,7 +2123,7 @@ static int netvsc_register_vf(struct net_device *vf_netdev)
|
||||||
if (!netvsc_dev || rtnl_dereference(net_device_ctx->vf_netdev))
|
if (!netvsc_dev || rtnl_dereference(net_device_ctx->vf_netdev))
|
||||||
return NOTIFY_DONE;
|
return NOTIFY_DONE;
|
||||||
|
|
||||||
/* if syntihetic interface is a different namespace,
|
/* if synthetic interface is a different namespace,
|
||||||
* then move the VF to that namespace; join will be
|
* then move the VF to that namespace; join will be
|
||||||
* done again in that context.
|
* done again in that context.
|
||||||
*/
|
*/
|
||||||
|
@ -2271,7 +2271,7 @@ static int netvsc_probe(struct hv_device *dev,
|
||||||
* netvsc_probe() can't get rtnl lock and as a result vmbus_onoffer()
|
* netvsc_probe() can't get rtnl lock and as a result vmbus_onoffer()
|
||||||
* -> ... -> device_add() -> ... -> __device_attach() can't get
|
* -> ... -> device_add() -> ... -> __device_attach() can't get
|
||||||
* the device lock, so all the subchannels can't be processed --
|
* the device lock, so all the subchannels can't be processed --
|
||||||
* finally netvsc_subchan_work() hangs for ever.
|
* finally netvsc_subchan_work() hangs forever.
|
||||||
*/
|
*/
|
||||||
rtnl_lock();
|
rtnl_lock();
|
||||||
|
|
||||||
|
|
|
@ -1176,7 +1176,7 @@ int rndis_set_subchannel(struct net_device *ndev,
|
||||||
wait_event(nvdev->subchan_open,
|
wait_event(nvdev->subchan_open,
|
||||||
atomic_read(&nvdev->open_chn) == nvdev->num_chn);
|
atomic_read(&nvdev->open_chn) == nvdev->num_chn);
|
||||||
|
|
||||||
/* ignore failues from setting rss parameters, still have channels */
|
/* ignore failures from setting rss parameters, still have channels */
|
||||||
if (dev_info)
|
if (dev_info)
|
||||||
rndis_filter_set_rss_param(rdev, dev_info->rss_key);
|
rndis_filter_set_rss_param(rdev, dev_info->rss_key);
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue