From: Matan Barak <matanb-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
To: Roland Dreier <roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
Cc: Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
"linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>,
Hadar Hen Zion <hadarh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Shawn Bohrer
<shawn.bohrer-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>,
Sean Hefty <sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>,
Tzahi Oved <tzahio-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>,
Yishai Hadas <yishaih-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH V5 for-next 1/4] IB/core: Add receive Flow Steering support
Date: Tue, 27 Aug 2013 20:10:05 +0300 [thread overview]
Message-ID: <521CDD6D.3000404@mellanox.com> (raw)
In-Reply-To: <CAL1RGDUp7Tmak=b_Ttqm=WWoS5vvA1r0HCGKR7y6MJ4th44=pQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
On 26/8/2013 10:07 PM, Roland Dreier wrote:
> On Wed, Aug 14, 2013 at 3:58 AM, Or Gerlitz <ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org> wrote:
>> +struct _ib_flow_spec {
>
> Just out of curiousity, why does this structure name start with "_"?
> In fact why have the struct at all, since all it's doing is wrapping
> an anonymous union? Does the following work:
>
> +union ib_flow_spec {
> + struct {
> + enum ib_flow_spec_type type;
> + u16 size;
> + };
> + struct ib_flow_spec_eth eth;
> + struct ib_flow_spec_ipv4 ipv4;
> + struct ib_flow_spec_tcp_udp tcp_udp;
> + };
> +};
>
> If that works, then that seems a lot nicer to me...
>
> - R.
>
There's no real good reason for that. The struct isn't needed and we'll
definitely change that for V6.
- Matan
--
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:[~2013-08-27 17:10 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-14 10:58 [PATCH V5 for-next 0/4] Add receive Flow Steering support Or Gerlitz
[not found] ` <1376477911-13828-1-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-08-14 10:58 ` [PATCH V5 for-next 1/4] IB/core: " Or Gerlitz
[not found] ` <1376477911-13828-2-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-08-26 19:07 ` Roland Dreier
[not found] ` <CAL1RGDUp7Tmak=b_Ttqm=WWoS5vvA1r0HCGKR7y6MJ4th44=pQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-27 17:10 ` Matan Barak [this message]
2013-08-14 10:58 ` [PATCH V5 for-next 2/4] IB/core: Infrastructure to support verbs extensions through uverbs Or Gerlitz
[not found] ` <1376477911-13828-3-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-08-15 6:34 ` Or Gerlitz
2013-08-14 10:58 ` [PATCH V5 for-next 3/4] IB/core: Export ib_create/destroy_flow " Or Gerlitz
[not found] ` <1376477911-13828-4-git-send-email-ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-08-26 18:58 ` Roland Dreier
2013-08-26 19:01 ` Roland Dreier
[not found] ` <CAL1RGDX=ppDWfzVmcFyKOSqYJ-JecPpmdxj+unzL4gWBEKS1vg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2013-08-27 12:37 ` Matan Barak
[not found] ` <521C9D7D.5010304-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-08-29 16:35 ` Roland Dreier
2013-08-14 10:58 ` [PATCH V5 for-next 4/4] IB/mlx4: Add receive Flow Steering 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=521CDD6D.3000404@mellanox.com \
--to=matanb-vpraknaxozvwk0htik3j/w@public.gmane.org \
--cc=hadarh-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=ogerlitz-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org \
--cc=roland-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sean.hefty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \
--cc=shawn.bohrer-Re5JQEeQqe8AvxtiuMwx3w@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;
as well as URLs for NNTP newsgroup(s).