]> git.openfabrics.org - ~shefty/rdma-win.git/commitdiff
ND: pass group affinity into SRQ init
authorSean Hefty <sean.hefty@intel.com>
Tue, 27 Jul 2010 06:58:18 +0000 (23:58 -0700)
committerSean Hefty <sean.hefty@intel.com>
Tue, 27 Jul 2010 21:14:52 +0000 (14:14 -0700)
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
trunk/ulp/netdirect2/user/nd_adapter.cpp
trunk/ulp/netdirect2/user/nd_srq.cpp
trunk/ulp/netdirect2/user/nd_srq.h

index cdb104429d0b4ecda826a17fdea48b2b1b461011..d168ba3f39bd86e040e5f348a6896c79c3e9b172 100644 (file)
@@ -206,7 +206,7 @@ CreateSharedReceiveQueue(REFIID iid, DWORD queueDepth, DWORD maxSge,
        }\r
 \r
        return CNDSharedReceiveQueue::CreateInstance(this, queueDepth, maxSge,\r
-                                                                                                notifyThreshold, affinity,\r
+                                                                                                notifyThreshold, group, affinity,\r
                                                                                                 ppSharedReceiveQueue);\r
 }\r
 \r
index edbc70cf7a23fb79d36e12b8a7e0aae28fd3efe2..a3073040912fa023574001ce16468e2ee5fc9ddd 100644 (file)
@@ -39,7 +39,8 @@ CNDSharedReceiveQueue::CNDSharedReceiveQueue(CNDAdapter *pAdapter)
 }\r
 \r
 STDMETHODIMP CNDSharedReceiveQueue::\r
-Init(DWORD queueDepth, DWORD maxSGE, DWORD notifyThreshold, KAFFINITY affinity)\r
+Init(DWORD queueDepth, DWORD maxSGE, DWORD notifyThreshold,\r
+        USHORT group, KAFFINITY affinity)\r
 {\r
        HRESULT hr;\r
 \r
index 538403648834898533a741ccf2545bb4d33549bf..cf1ec70e6e14f417147f20e3ee0c959a8a5364cb 100644 (file)
@@ -61,7 +61,7 @@ public:
        void Delete() {delete this;}\r
        static STDMETHODIMP\r
        CreateInstance(CNDAdapter *pAdapter, DWORD queueDepth, DWORD maxSge,\r
-                                  DWORD notifyThreshold, KAFFINITY affinity,\r
+                                  DWORD notifyThreshold, USHORT group, KAFFINITY affinity,\r
                                   VOID** ppSharedReceiveQueue)\r
        {\r
                HRESULT hr;\r
@@ -73,7 +73,7 @@ public:
                        goto err1;\r
                }\r
 \r
-               hr = srq->Init(queueDepth, maxSge, notifyThreshold, affinity);\r
+               hr = srq->Init(queueDepth, maxSge, notifyThreshold, group, affinity);\r
                if (FAILED(hr)) {\r
                        goto err2;\r
                }\r
@@ -94,7 +94,7 @@ protected:
        CNDAdapter                              *m_pAdapter;\r
 \r
        STDMETHODIMP Init(DWORD queueDepth, DWORD maxSge, DWORD notifyThreshold,\r
-                                         KAFFINITY affinity);\r
+                                         USHORT group, KAFFINITY affinity);\r
 };\r
 \r
 #endif // _ND_SRQ_H_\r