From: Sagi Grimberg <sagi-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
To: Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
alexv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org,
talal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org
Subject: Re: [PATCH V4 for-next 10/10] IB/mlx5: Add RSS QP support
Date: Sun, 29 May 2016 16:16:37 +0300 [thread overview]
Message-ID: <574AEBB5.70004@grimberg.me> (raw)
In-Reply-To: <1464006056-19653-11-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> +/* RX Hash function flags */
> +enum mlx5_rx_hash_function_flags {
> + MLX5_RX_HASH_FUNC_TOEPLITZ = 1 << 0,
> +};
> +
> +/*
> + * RX Hash flags, these flags allows to set which incoming packet's field should
> + * participates in RX Hash. Each flag represent certain packet's field,
> + * when the flag is set the field that is represented by the flag will
> + * participate in RX Hash calculation.
> + * Note: *IPV4 and *IPV6 flags can't be enabled together on the same QP
> + * and *TCP and *UDP flags can't be enabled together on the same QP.
> +*/
> +enum mlx5_rx_hash_fields {
> + MLX5_RX_HASH_SRC_IPV4 = 1 << 0,
> + MLX5_RX_HASH_DST_IPV4 = 1 << 1,
> + MLX5_RX_HASH_SRC_IPV6 = 1 << 2,
> + MLX5_RX_HASH_DST_IPV6 = 1 << 3,
> + MLX5_RX_HASH_SRC_PORT_TCP = 1 << 4,
> + MLX5_RX_HASH_DST_PORT_TCP = 1 << 5,
> + MLX5_RX_HASH_SRC_PORT_UDP = 1 << 6,
> + MLX5_RX_HASH_DST_PORT_UDP = 1 << 7
> +};
I never really understood why these should be driver specific but I
know it was decided so...
Reviewed-by: Sagi Grimberg <sagi-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
--
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:[~2016-05-29 13:16 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-23 12:20 [PATCH V4 for-next 00/10] Verbs RSS Yishai Hadas
[not found] ` <1464006056-19653-1-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-23 12:20 ` [PATCH V4 for-next 01/10] net/mlx5: Export required core functions to support RSS Yishai Hadas
[not found] ` <1464006056-19653-2-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-29 12:48 ` Sagi Grimberg
2016-05-23 12:20 ` [PATCH V4 for-next 02/10] IB/core: Introduce Work Queue object and its verbs Yishai Hadas
[not found] ` <1464006056-19653-3-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-23 16:57 ` Steve Wise
[not found] ` <5d0982d2-3b07-11a3-a74c-a52b8e9fb392-7bPotxP6k4+P2YhJcF5u+vpXobYPEAuW@public.gmane.org>
2016-05-24 8:50 ` Yishai Hadas
[not found] ` <d2401170-0ff4-c39a-d7c6-2a5face00fa2-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2016-05-24 14:25 ` Steve Wise
2016-05-24 14:51 ` Yishai Hadas
2016-05-29 12:51 ` Sagi Grimberg
[not found] ` <574AE5C4.5010707-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2016-05-29 12:56 ` Sagi Grimberg
[not found] ` <574AE710.3070901-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2016-05-29 13:30 ` Yishai Hadas
[not found] ` <7747beea-5c96-6c17-a87e-a16a45252487-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2016-05-30 6:38 ` Sagi Grimberg
2016-05-23 12:20 ` [PATCH V4 for-next 03/10] IB/uverbs: Add WQ support Yishai Hadas
[not found] ` <1464006056-19653-4-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-29 12:57 ` Sagi Grimberg
2016-05-23 12:20 ` [PATCH V4 for-next 04/10] IB/mlx5: Add receive Work Queue verbs Yishai Hadas
[not found] ` <1464006056-19653-5-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-29 13:02 ` Sagi Grimberg
2016-05-30 20:13 ` Or Gerlitz
2016-05-23 12:20 ` [PATCH V4 for-next 05/10] IB/core: Introduce Receive Work Queue indirection table Yishai Hadas
[not found] ` <1464006056-19653-6-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-23 17:07 ` Steve Wise
2016-05-24 7:39 ` Yishai Hadas
[not found] ` <46a7de86-dffe-e44c-3768-10dfb70e8802-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2016-05-24 14:02 ` Steve Wise
2016-05-29 13:06 ` Sagi Grimberg
2016-05-23 12:20 ` [PATCH V4 for-next 06/10] IB/uverbs: Introduce RWQ Indirection table Yishai Hadas
[not found] ` <1464006056-19653-7-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-29 13:07 ` Sagi Grimberg
2016-05-23 12:20 ` [PATCH V4 for-next 07/10] IB/mlx5: Add Receive Work Queue Indirection table operations Yishai Hadas
[not found] ` <1464006056-19653-8-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-29 13:08 ` Sagi Grimberg
2016-05-23 12:20 ` [PATCH V4 for-next 08/10] IB/core: Extend create QP to get indirection table Yishai Hadas
[not found] ` <1464006056-19653-9-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-29 13:11 ` Sagi Grimberg
[not found] ` <574AEA8D.2010909-NQWnxTmZq1alnMjI0IkVqw@public.gmane.org>
2016-05-29 13:55 ` Yishai Hadas
[not found] ` <d34f7f40-5e05-2eb9-4b81-649b2cb11174-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2016-05-30 6:43 ` Sagi Grimberg
2016-05-23 12:20 ` [PATCH V4 for-next 09/10] IB/uverbs: Extend create QP to get RWQ " Yishai Hadas
[not found] ` <1464006056-19653-10-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-29 13:12 ` Sagi Grimberg
2016-05-23 12:20 ` [PATCH V4 for-next 10/10] IB/mlx5: Add RSS QP support Yishai Hadas
[not found] ` <1464006056-19653-11-git-send-email-yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2016-05-29 13:16 ` Sagi Grimberg [this message]
2016-05-29 11:27 ` [PATCH V4 for-next 00/10] Verbs RSS Yuval Shaia
2016-06-23 15:11 ` Doug Ledford
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=574AEBB5.70004@grimberg.me \
--to=sagi-nqwnxtmzq1alnmji0ikvqw@public.gmane.org \
--cc=alexv-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=majd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=talal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=tzahio-VPRAkNaXOzVWk0Htik3J/w@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox