Skip to content

Instantly share code, notes, and snippets.

@hppritcha
Created February 6, 2015 21:09
Show Gist options
  • Save hppritcha/4d7f612fea111c65ab3e to your computer and use it in GitHub Desktop.
Save hppritcha/4d7f612fea111c65ab3e to your computer and use it in GitHub Desktop.
* gnix address format - used for fi_send/fi_recv, etc.
*/
struct gnix_address {
uint32_t device_addr;
uint32_t cdm_id;
};
/*
* info returned by fi_getname/fi_getpeer - has enough
* side band info for RDM ep's to be able to connect, etc.
*/
struct gnix_ep_name {
struct gnix_address gnix_addr;
struct {
uint32_t name_type:8;
uint32_t unused :24;
};
uint64_t reserved[4];
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment