[PATCH] iscsid: Add qedi ping transport hook

2017-04-26 Thread Nilesh Javali
iscsiuio ping is operational for qedi.
Add missing qedi transport hook for ping support.

Signed-off-by: Nilesh Javali 
---
 usr/transport.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/usr/transport.c b/usr/transport.c
index 533ba30..56fab49 100644
--- a/usr/transport.c
+++ b/usr/transport.c
@@ -124,6 +124,7 @@ struct iscsi_transport_template qedi = {
.ep_poll= ktransport_ep_poll,
.ep_disconnect  = ktransport_ep_disconnect,
.set_net_config = uip_broadcast_params,
+   .exec_ping  = uip_broadcast_ping_req,
 };
 
 static struct iscsi_transport_template *iscsi_transport_templates[] = {
-- 
1.8.3.1

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.


Re: [PATCH] iscsid: Add qedi ping transport hook

2017-04-27 Thread The Lee-Man
Applied. Please note that pull requests via github are easier to apply than 
traditional patch emails.

On Wednesday, April 26, 2017 at 2:27:03 AM UTC-7, Nilesh Javali wrote:
>
> iscsiuio ping is operational for qedi. 
> Add missing qedi transport hook for ping support. 
>
> Signed-off-by: Nilesh Javali  
> --- 
>  usr/transport.c | 1 + 
>  1 file changed, 1 insertion(+) 
>
> diff --git a/usr/transport.c b/usr/transport.c 
> index 533ba30..56fab49 100644 
> --- a/usr/transport.c 
> +++ b/usr/transport.c 
> @@ -124,6 +124,7 @@ struct iscsi_transport_template qedi = { 
>  .ep_poll= ktransport_ep_poll, 
>  .ep_disconnect= ktransport_ep_disconnect, 
>  .set_net_config = uip_broadcast_params, 
> +.exec_ping  = uip_broadcast_ping_req, 
>  }; 
>   
>  static struct iscsi_transport_template *iscsi_transport_templates[] = { 
> -- 
> 1.8.3.1 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to open-iscsi+unsubscr...@googlegroups.com.
To post to this group, send email to open-iscsi@googlegroups.com.
Visit this group at https://groups.google.com/group/open-iscsi.
For more options, visit https://groups.google.com/d/optout.