From: Bart Van Assche <Bart.VanAssche-Sjgp3cTcYWE@public.gmane.org>
To: "jgg-uk2M96/98Pc@public.gmane.org"
<jgg-uk2M96/98Pc@public.gmane.org>,
"dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org"
<dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [PATCH, resend 4/4] IB/srp: Add RDMA/CM support
Date: Fri, 5 Jan 2018 20:53:33 +0000 [thread overview]
Message-ID: <1515185611.3254.21.camel@wdc.com> (raw)
In-Reply-To: <20180105203506.GD11348-uk2M96/98Pc@public.gmane.org>
On Fri, 2018-01-05 at 13:35 -0700, Jason Gunthorpe wrote:
> Anyhow. Bart should look at what iscsi does for namespaces and copy
> that.. No sense in inventing something unique for RDMA.
Unless if I missed something, network namespace support seems to be missing
from the iSCSI and FCoE initiator drivers:
$ git grep -nH 'struct net[^[:alnum:]_]' */scsi
$ git grep -nH 'init_net' */scsi
drivers/scsi/cxgbi/libcxgbi.c:593: rt = ip_route_output_ports(&init_net, fl4, NULL, daddr, saddr,
drivers/scsi/cxgbi/libcxgbi.c:642: ndev = ip_dev_find(&init_net, daddr->sin_addr.s_addr);
drivers/scsi/cxgbi/libcxgbi.c:708: return (struct rt6_info *)ip6_route_output(&init_net, NULL, &fl);
drivers/scsi/cxgbi/libcxgbi.c:790: err = ipv6_dev_get_saddr(&init_net, idev ? idev->dev : NULL,
drivers/scsi/fcoe/fcoe.c:1815: netdev = dev_get_by_index(&init_net, entry->ifindex);
drivers/scsi/fcoe/fcoe_transport.c:727: return dev_get_by_name(&init_net, ifname);
drivers/scsi/scsi_netlink.c:133: scsi_nl_sock = netlink_kernel_create(&init_net, NETLINK_SCSITRANSPORT,
drivers/scsi/scsi_transport_iscsi.c:4533: nls = netlink_kernel_create(&init_net, NETLINK_ISCSI, &cfg);
Bart.
next prev parent reply other threads:[~2018-01-05 20:53 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 22:28 [PATCH, resend 0/4] IB/srp: Add RDMA/CM support Bart Van Assche
[not found] ` <20180104222842.26756-1-bart.vanassche-Sjgp3cTcYWE@public.gmane.org>
2018-01-04 22:28 ` [PATCH, resend 1/4] IB/srp: Use kstrtoull() instead of simple_strtoull() Bart Van Assche
2018-01-04 22:28 ` [PATCH, resend 2/4] IB/srp: Make the path record query error message more informative Bart Van Assche
2018-01-04 22:28 ` [PATCH, resend 3/4] IB/srp: Refactor srp_send_req() Bart Van Assche
2018-01-04 22:28 ` [PATCH, resend 4/4] IB/srp: Add RDMA/CM support Bart Van Assche
[not found] ` <20180104222842.26756-5-bart.vanassche-Sjgp3cTcYWE@public.gmane.org>
2018-01-05 17:21 ` Doug Ledford
[not found] ` <1515172870.3403.11.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-01-05 17:34 ` Jason Gunthorpe
[not found] ` <20180105173448.GY11348-uk2M96/98Pc@public.gmane.org>
2018-01-05 17:51 ` Bart Van Assche
[not found] ` <1515174677.3254.11.camel-Sjgp3cTcYWE@public.gmane.org>
2018-01-05 17:55 ` Jason Gunthorpe
2018-01-05 18:06 ` Doug Ledford
[not found] ` <1515175618.3403.26.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-01-05 18:12 ` Bart Van Assche
[not found] ` <1515175964.3254.15.camel-Sjgp3cTcYWE@public.gmane.org>
2018-01-05 18:15 ` Doug Ledford
2018-01-05 19:25 ` Jason Gunthorpe
[not found] ` <20180105192549.GA11348-uk2M96/98Pc@public.gmane.org>
2018-01-05 20:23 ` Doug Ledford
[not found] ` <1515183835.3403.62.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-01-05 20:35 ` Jason Gunthorpe
[not found] ` <20180105203506.GD11348-uk2M96/98Pc@public.gmane.org>
2018-01-05 20:53 ` Bart Van Assche [this message]
2018-01-05 23:13 ` Doug Ledford
[not found] ` <1515193988.3403.69.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-01-05 23:27 ` Jason Gunthorpe
2018-01-05 17:45 ` Bart Van Assche
2018-01-05 17:22 ` [PATCH, resend 0/4] " Doug Ledford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1515185611.3254.21.camel@wdc.com \
--to=bart.vanassche-sjgp3ctcywe@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=jgg-uk2M96/98Pc@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox