Displaying 7 results from an estimated 7 matches for "hv_get_drvdata".
Did you mean:
  dev_get_drvdata
  
2011 Sep 08
25
[PATCH 0000/0025] Staging: hv: Driver cleanup
Address Greg's VmBus audit comments:
	1) Leverage driver_data field in struct hv_vmbus_device_id to
	   simplify driver code.
	2) Make the util driver conform to the Linux Driver Model.
	3) Get rid of the ext field in struct hv_device by using the
	   driver specific data functionality.
	4) Other general cleanup.
Regards,
K. Y
2011 Sep 08
25
[PATCH 0000/0025] Staging: hv: Driver cleanup
Address Greg's VmBus audit comments:
	1) Leverage driver_data field in struct hv_vmbus_device_id to
	   simplify driver code.
	2) Make the util driver conform to the Linux Driver Model.
	3) Get rid of the ext field in struct hv_device by using the
	   driver specific data functionality.
	4) Other general cleanup.
Regards,
K. Y
2017 Feb 01
0
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...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) {
-			netvsc_process_raw_pkt(device,
-					       channel,
-					       net_device,
-					       ndev,
-					       desc->trans_id,
-					       desc);
-
-			put_pkt_raw(channel...
2017 Feb 05
2
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...r;
> -	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) {
> -			netvsc_process_raw_pkt(device,
> -					       channel,
> -					       net_device,
> -					       ndev,
> -					       desc->trans...
2017 Feb 05
2
[PATCH 05/14] netvsc: remove no longer needed receive staging buffers
...r;
> -	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) {
> -			netvsc_process_raw_pkt(device,
> -					       channel,
> -					       net_device,
> -					       ndev,
> -					       desc->trans...
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