From: Sean Hefty Date: Thu, 15 Jul 2010 17:55:03 +0000 (-0700) Subject: refresh (create temporary patch) X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=509ef8021c0d06cd03d14a71973ee0b1f8a67986;p=~shefty%2Frdma-win.git refresh (create temporary patch) --- diff --git a/meta b/meta index 0ed728fc..584c4c82 100644 --- a/meta +++ b/meta @@ -1,8 +1,9 @@ Version: 1 -Previous: 44e3e873c534254f059d0eba96b2e5df884ba733 -Head: c8a3f3a71764175b650ebc214143acef3cee6dcb +Previous: 793fc4b654044896de61dd803e97c95b9d1456fe +Head: ccfe69c323ed1a9b019a48e98c330c8c4f80203c Applied: srq: c8a3f3a71764175b650ebc214143acef3cee6dcb + refresh-temp: ccfe69c323ed1a9b019a48e98c330c8c4f80203c Unapplied: wv-rm-ioctl: f1e558769c5840f4359d9026feae0725a00510e3 wv-ver: 3fdcf3b5cc9e4a718b02ade74d0e8d0fb8498598 diff --git a/patches/refresh-temp b/patches/refresh-temp new file mode 100644 index 00000000..42c3a90a --- /dev/null +++ b/patches/refresh-temp @@ -0,0 +1,111 @@ +Bottom: 06cdce656914daffeb60188020c0cbccef3f6806 +Top: 249b39658665183a9d3faed2870a1841a127346b +Author: Sean Hefty +Date: 2010-07-15 10:55:01 -0700 + +Refresh of srq + +--- + +diff --git a/trunk/core/winverbs/user/wv_uverbs.cpp b/trunk/core/winverbs/user/wv_uverbs.cpp +index d7073a1..1a315b4 100644 +--- a/trunk/core/winverbs/user/wv_uverbs.cpp ++++ b/trunk/core/winverbs/user/wv_uverbs.cpp +@@ -39,7 +39,7 @@ WvPreOpenCa(const ib_net64_t ca_guid, ci_umv_buf_t *p_umv_buf, + UNREFERENCED_PARAMETER(ca_guid); + UNREFERENCED_PARAMETER(ph_uvp_ca); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -76,7 +76,7 @@ WvPreAllocatePd(ib_ca_handle_t h_uvp_ca, ci_umv_buf_t *p_umv_buf, + UNREFERENCED_PARAMETER(h_uvp_ca); + UNREFERENCED_PARAMETER(ph_uvp_pd); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -112,7 +112,7 @@ WvPreCreateAv(const ib_pd_handle_t h_uvp_pd, const ib_av_attr_t *p_addr_vector, + UNREFERENCED_PARAMETER(p_addr_vector); + UNREFERENCED_PARAMETER(ph_uvp_av); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -148,7 +148,7 @@ WvPreCreateSrq(const ib_pd_handle_t h_uvp_pd, const ib_srq_attr_t* const p_srq_a + UNREFERENCED_PARAMETER(p_srq_attr); + UNREFERENCED_PARAMETER(ph_uvp_srq); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -170,7 +170,7 @@ WvPreModifySrq(const ib_srq_handle_t h_uvp_srq, const ib_srq_attr_t * const p_sr + UNREFERENCED_PARAMETER(p_srq_attr); + UNREFERENCED_PARAMETER(srq_attr_mask); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -188,7 +188,7 @@ WvPreQuerySrq(ib_srq_handle_t h_uvp_srq, ci_umv_buf_t *p_umv_buf) + { + UNREFERENCED_PARAMETER(h_uvp_srq); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -234,7 +234,7 @@ WvPreModifyQp(const ib_qp_handle_t h_uvp_qp, const ib_qp_mod_t *p_modify_attr, + UNREFERENCED_PARAMETER(h_uvp_qp); + UNREFERENCED_PARAMETER(p_modify_attr); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -252,7 +252,7 @@ WvPreQueryQp(ib_qp_handle_t h_uvp_qp, ci_umv_buf_t *p_umv_buf) + { + UNREFERENCED_PARAMETER(h_uvp_qp); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -288,7 +288,7 @@ WvPreCreateCq(const ib_ca_handle_t h_uvp_ca, uint32_t* const p_size, + UNREFERENCED_PARAMETER(p_size); + UNREFERENCED_PARAMETER(ph_uvp_cq); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -310,7 +310,7 @@ WvPreResizeCq(const ib_cq_handle_t h_uvp_cq, uint32_t* const p_size, + UNREFERENCED_PARAMETER(h_uvp_cq); + UNREFERENCED_PARAMETER(p_size); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + } + +@@ -345,7 +345,7 @@ WvPreCreateMw(const ib_pd_handle_t h_uvp_pd, ci_umv_buf_t *p_umv_buf, + UNREFERENCED_PARAMETER(h_uvp_pd); + UNREFERENCED_PARAMETER(ph_uvp_mw); + +- p_umv_buf->input_size = 0; ++ RtlZeroMemory(p_umv_buf, sizeof(*p_umv_buf)); + return IB_SUCCESS; + }