Displaying 5 results from an estimated 5 matches for "set_per_channel_st".
2017 Feb 01
0
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
..._raw(channel, desc);
+ need_to_commit = true;
+ }
+
+ if (need_to_commit)
+ commit_rd_index(channel);
netvsc_chk_recv_comp(net_device, channel, q_idx);
}
@@ -1359,8 +1300,6 @@ int netvsc_device_add(struct hv_device *device, void *additional_info)
net_device->ring_size = ring_size;
- set_per_channel_state(device->channel, net_device->cb_buffer);
-
/* Open the channel */
ret = vmbus_open(device->channel, ring_size * PAGE_SIZE,
ring_size * PAGE_SIZE, NULL, 0,
diff --git a/drivers/net/hyperv/rndis_filter.c b/drivers/net/hyperv/rndis_filter.c
index 8d90904e0e49..113c7f4d1590 100644...
2017 Feb 05
2
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...> + if (need_to_commit)
> + commit_rd_index(channel);
>
> netvsc_chk_recv_comp(net_device, channel, q_idx);
> }
> @@ -1359,8 +1300,6 @@ int netvsc_device_add(struct hv_device *device,
> void *additional_info)
>
> net_device->ring_size = ring_size;
>
> - set_per_channel_state(device->channel, net_device->cb_buffer);
> -
> /* Open the channel */
> ret = vmbus_open(device->channel, ring_size * PAGE_SIZE,
> ring_size * PAGE_SIZE, NULL, 0,
> diff --git a/drivers/net/hyperv/rndis_filter.c
> b/drivers/net/hyperv/rndis_filter.c
> index...
2017 Feb 05
2
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...> + if (need_to_commit)
> + commit_rd_index(channel);
>
> netvsc_chk_recv_comp(net_device, channel, q_idx);
> }
> @@ -1359,8 +1300,6 @@ int netvsc_device_add(struct hv_device *device,
> void *additional_info)
>
> net_device->ring_size = ring_size;
>
> - set_per_channel_state(device->channel, net_device->cb_buffer);
> -
> /* Open the channel */
> ret = vmbus_open(device->channel, ring_size * PAGE_SIZE,
> ring_size * PAGE_SIZE, NULL, 0,
> diff --git a/drivers/net/hyperv/rndis_filter.c
> b/drivers/net/hyperv/rndis_filter.c
> index...
2017 Feb 01
15
[PATCH 00/14] hyperv: vmbus related patches
This is a rebase/resend of earlier patches. I skipped the pure
cosmetic patches for now. Mostly this is consolidation earlier
changes, removing dead code etc. The important part is the
change for allowing a vmbus channel to get callback directly
in interrupt mode; this is necessary for NAPI support.
Stephen Hemminger (14):
vmbus: use kernel bitops for traversing interrupt mask
vmbus: drop
2017 Feb 01
15
[PATCH 00/14] hyperv: vmbus related patches
This is a rebase/resend of earlier patches. I skipped the pure
cosmetic patches for now. Mostly this is consolidation earlier
changes, removing dead code etc. The important part is the
change for allowing a vmbus channel to get callback directly
in interrupt mode; this is necessary for NAPI support.
Stephen Hemminger (14):
vmbus: use kernel bitops for traversing interrupt mask
vmbus: drop