RE: RDMA connection establishment flow.

2014-09-24 Thread Hefty, Sean
My question is Who will get RDMA_CM_EVENT_ESTABLISHED notification first, Server or client ? Is there any order to keep it strictly . There is no guarantee which side will receive the event first. The only restriction is that the side which initiates the first data transfer must wait until it

Can a PF driver access the VF config space, BAR(MMIO) etc?

2014-09-24 Thread Bob Biloxi
Hi, I am new to writing pci sriov drivers. So i could use your help and expertise here As I understand once sriov is enabled, the PF driver can access the PF(Physical Function) configuration space, BAR(MMIO) etc and the VF driver can access the VF(Virtual Function) configuration space,

Re: Can a PF driver access the VF config space, BAR(MMIO) etc?

2014-09-24 Thread Sunil Kovvuri
If you anyway want to simulate VF functionality in PF driver itself, i am not sure why do you need to access VF's config space from PF. FYI, VF's BAR(MMIO) are not used, MMIO regions are carved using VF BARs in PF's SRIOV config space. VFx BAR0 = PF SRIOV BAR0 + BAR_SIZE * x (VF_NUMBER); For

Re: RDMA connection establishment flow.

2014-09-24 Thread Mohammed Rafi K C
On Wed, 2014-09-24 at 15:32 +, Hefty, Sean wrote: My question is Who will get RDMA_CM_EVENT_ESTABLISHED notification first, Server or client ? Is there any order to keep it strictly . There is no guarantee which side will receive the event first. The only restriction is that the side

Re: [PATCH V3] svcrdma: advertise the correct max payload

2014-09-24 Thread Chuck Lever
On Sep 24, 2014, at 4:55 AM, Sagi Grimberg sa...@dev.mellanox.co.il wrote: On 9/24/2014 1:11 AM, Steve Wise wrote: Svcrdma currently advertises 1MB, which is too large. The correct value is the minimum of RPCSVC_MAXPAYLOAD and the max scatter-gather allowed in an NFSRDMA IO chunk * the host