Displaying 5 results from an estimated 5 matches for "need_to_commit".
2017 Feb 01
0
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...text;
u16 q_idx = channel->offermsg.offer.sub_channel_index;
struct hv_device *device;
struct netvsc_device *net_device;
- u32 bytes_recvd;
- u64 request_id;
struct vmpacket_descriptor *desc;
- unsigned char *buffer;
- int bufferlen = NETVSC_PACKET_SIZE;
struct net_device *ndev;
bool need_to_commit = false;
@@ -1277,65 +1264,19 @@ void netvsc_channel_cb(void *context)
net_device = get_inbound_net_device(device);
if (!net_device)
return;
+
ndev = hv_get_drvdata(device);
- buffer = get_per_channel_state(channel);
-
- do {
- desc = get_next_pkt_raw(channel);
- if (desc != NULL) {
-...
2017 Feb 05
2
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...r.sub_channel_index;
> struct hv_device *device;
> struct netvsc_device *net_device;
> - u32 bytes_recvd;
> - u64 request_id;
> struct vmpacket_descriptor *desc;
> - unsigned char *buffer;
> - int bufferlen = NETVSC_PACKET_SIZE;
> struct net_device *ndev;
> bool need_to_commit = false;
>
> @@ -1277,65 +1264,19 @@ void netvsc_channel_cb(void *context)
> net_device = get_inbound_net_device(device);
> if (!net_device)
> return;
> +
> ndev = hv_get_drvdata(device);
> - buffer = get_per_channel_state(channel);
> -
> - do {
> - desc...
2017 Feb 05
2
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...r.sub_channel_index;
> struct hv_device *device;
> struct netvsc_device *net_device;
> - u32 bytes_recvd;
> - u64 request_id;
> struct vmpacket_descriptor *desc;
> - unsigned char *buffer;
> - int bufferlen = NETVSC_PACKET_SIZE;
> struct net_device *ndev;
> bool need_to_commit = false;
>
> @@ -1277,65 +1264,19 @@ void netvsc_channel_cb(void *context)
> net_device = get_inbound_net_device(device);
> if (!net_device)
> return;
> +
> ndev = hv_get_drvdata(device);
> - buffer = get_per_channel_state(channel);
> -
> - do {
> - desc...
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