From: Yann Droneaud <ydroneaud-RlY5vtjFyJ3QT0dZR+AlfA@public.gmane.org>
To: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Cc: roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Subject: Re: [PATCH V1 libibverbs 1/3] Add ibv_port_cap_flags
Date: Tue, 11 Feb 2014 14:53:29 +0100 [thread overview]
Message-ID: <1392126809.11170.32.camel@localhost.localdomain> (raw)
In-Reply-To: <1392121864-9672-2-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Le mardi 11 février 2014 à 14:31 +0200, Or Gerlitz a écrit :
> From: Matan Barak <matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
>
> Add an enum that describes ibv_port_cap_flags that complies
> with the respective kernel enum and modify the existing
> field in struct ibv_port_attr to be of that type.
>
The last part is no more true.
> This value could be fetched when using ibv_query_port.
>
> Signed-off-by: Matan Barak <matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> Signed-off-by: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---
> include/infiniband/verbs.h | 22 ++++++++++++++++++++++
> 1 files changed, 22 insertions(+), 0 deletions(-)
>
> diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
> index 5064636..a79a1de 100644
> --- a/include/infiniband/verbs.h
> +++ b/include/infiniband/verbs.h
> @@ -186,6 +186,28 @@ enum {
> IBV_LINK_LAYER_ETHERNET,
> };
>
> +enum ibv_port_cap_flags {
> + IBV_PORT_SM = 1 << 1,
> + IBV_PORT_NOTICE_SUP = 1 << 2,
> + IBV_PORT_TRAP_SUP = 1 << 3,
> + IBV_PORT_OPT_IPD_SUP = 1 << 4,
> + IBV_PORT_AUTO_MIGR_SUP = 1 << 5,
> + IBV_PORT_SL_MAP_SUP = 1 << 6,
> + IBV_PORT_MKEY_NVRAM = 1 << 7,
> + IBV_PORT_PKEY_NVRAM = 1 << 8,
> + IBV_PORT_LED_INFO_SUP = 1 << 9,
> + IBV_PORT_SYS_IMAGE_GUID_SUP = 1 << 11,
> + IBV_PORT_PKEY_SW_EXT_PORT_TRAP_SUP = 1 << 12,
> + IBV_PORT_EXTENDED_SPEEDS_SUP = 1 << 14,
> + IBV_PORT_CM_SUP = 1 << 16,
> + IBV_PORT_SNMP_TUNNEL_SUP = 1 << 17,
> + IBV_PORT_REINIT_SUP = 1 << 18,
> + IBV_PORT_DEVICE_MGMT_SUP = 1 << 19,
> + IBV_PORT_VENDOR_CLASS = 1 << 24,
> + IBV_PORT_CLIENT_REG_SUP = 1 << 25,
> + IBV_PORT_IP_BASED_GIDS = 1 << 26,
> +};
> +
> struct ibv_port_attr {
> enum ibv_port_state state;
> enum ibv_mtu max_mtu;
Regards.
--
Yann Droneaud
OPTEYA
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2014-02-11 13:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-11 12:31 [PATCH V1 libibverbs 0/3] Add support for UD QPs under RoCE IP addressing Or Gerlitz
[not found] ` <1392121864-9672-1-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-02-11 12:31 ` [PATCH V1 libibverbs 1/3] Add ibv_port_cap_flags Or Gerlitz
[not found] ` <1392121864-9672-2-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-02-11 13:53 ` Yann Droneaud [this message]
[not found] ` <1392126809.11170.32.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2014-02-12 8:20 ` Or Gerlitz
2014-02-11 12:31 ` [PATCH V1 libibverbs 2/3] Use neighbour lookup for RoCE UD QPs Eth L2 resolution Or Gerlitz
[not found] ` <1392121864-9672-3-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2014-02-11 15:18 ` Yann Droneaud
[not found] ` <1392131937.11170.79.camel-bi+AKbBUZKY6gyzm1THtWbp2dZbC/Bob@public.gmane.org>
2014-02-12 7:48 ` Moni Shoua
2014-02-12 10:17 ` Matan Barak
2014-02-11 12:31 ` [PATCH V1 libibverbs 3/3] Add ibv_query_port_ex support Or Gerlitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1392126809.11170.32.camel@localhost.localdomain \
--to=ydroneaud-rly5vtjfyj3qt0dzr+alfa@public.gmane.org \
--cc=amirv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=monis-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.