Re: [PATCH 02/12] IB/cma: pass the port number to ib_create_qp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Apr 28, 2016 at 07:43:59PM +0000, Hefty, Sean wrote:
> > > HCH and I complained about this per-port distinction in several private
> > > conversations. I'd really love to see it go away too.
> > 
> > I'm in support of eliminating them. One protocol per device.
> 
> I'm slow reading this thread, but there are devices today
> (e.g. qlogic) that support multiple protocols (e.g. iwarp, roce,
> rocev2).  Even the qib and opa drivers do, if you include psm as a
> separate protocol from ib.

I see several litmus tests for what kinds of ports can be combined
into a device (eg the 'protocol'):

1) Various cap tests are the same on every port. Particularly the
   iWarp special behaviours we are talking about here.
2) AHs are not port-specific, so the AH addressing format must be
   defined by the device. Thus IB and iWarp cannot be combined.
3) Verbs APM must work across ports. So eg rocee and IB cannot be
   combined since they use a different CM process.

Multi-port really only exists to support APM, if APM doesn't work then
drivers don't need to create multi-port devices.

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux