{"action":"created","issue":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/736","repository_url":"https://api.github.com/repos/ofi-cray/libfabric-cray","labels_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/736/labels{/name}","comments_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/736/comments","events_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/736/events","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/736","id":142770296,"number":736,"title":"prov/gni: Acclerated vc lookup.","user":{"login":"e-harvey","id":7410674,"avatar_url":"https://avatars.githubusercontent.com/u/7410674?v=3","gravatar_id":"","url":"https://api.github.com/users/e-harvey","html_url":"https://github.com/e-harvey","followers_url":"https://api.github.com/users/e-harvey/followers","following_url":"https://api.github.com/users/e-harvey/following{/other_user}","gists_url":"https://api.github.com/users/e-harvey/gists{/gist_id}","starred_url":"https://api.github.com/users/e-harvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-harvey/subscriptions","organizations_url":"https://api.github.com/users/e-harvey/orgs","repos_url":"https://api.github.com/users/e-harvey/repos","events_url":"https://api.github.com/users/e-harvey/events{/privacy}","received_events_url":"https://api.github.com/users/e-harvey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-22T20:30:22Z","updated_at":"2016-03-23T16:24:02Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/pulls/736","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/736","diff_url":"https://github.com/ofi-cray/libfabric-cray/pull/736.diff","patch_url":"https://github.com/ofi-cray/libfabric-cray/pull/736.patch"},"body":"Since FI_AV_TABLE  essentially provides an index into a table of vc's the gnix provider now uses a vector instead of a hashtable for getting/storing vc's using FI_AV_TABLE. To accomplish this a few functions were added to gnix_vc.c:\r\n    * __gnix_vc_insert\r\n    * __gnix_vc_lookup_vc\r\n    * __gnix_vc_get_vc\r\nThese functions simply provide a means of inserting or looking up the vc based on the address vector type. Other minor changes were made to gnix_ep.c in order to initialize the appropriate vc lookup method\r\nbased on the address vector type. A couple of static functions were also added to gnix_av.h inorder to accelerate the translations of a fi_addr_t to a gnix_address or vice versa since the av type is known during the vc lookup. Lastly, an additional table mode was added to gnix_vc.h for updating and checking the vc mode during operation.\r\n\r\nSigned-off-by: Evan Harvey <eharvey@lanl.gov>\r\n\r\n@hppritcha @ztiffany \r\n\r\nfixes #645 "},"comment":{"url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/comments/200421706","html_url":"https://github.com/ofi-cray/libfabric-cray/pull/736#issuecomment-200421706","issue_url":"https://api.github.com/repos/ofi-cray/libfabric-cray/issues/736","id":200421706,"user":{"login":"hppritcha","id":7818666,"avatar_url":"https://avatars.githubusercontent.com/u/7818666?v=3","gravatar_id":"","url":"https://api.github.com/users/hppritcha","html_url":"https://github.com/hppritcha","followers_url":"https://api.github.com/users/hppritcha/followers","following_url":"https://api.github.com/users/hppritcha/following{/other_user}","gists_url":"https://api.github.com/users/hppritcha/gists{/gist_id}","starred_url":"https://api.github.com/users/hppritcha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hppritcha/subscriptions","organizations_url":"https://api.github.com/users/hppritcha/orgs","repos_url":"https://api.github.com/users/hppritcha/repos","events_url":"https://api.github.com/users/hppritcha/events{/privacy}","received_events_url":"https://api.github.com/users/hppritcha/received_events","type":"User","site_admin":false},"created_at":"2016-03-23T16:24:02Z","updated_at":"2016-03-23T16:24:02Z","body":"lets see if lanl-bot is feeling better today.\r\nbot:retest\r\n"}}