[PATCH V5 for-next 1/4] IB/core: Add receive Flow Steering support

2013-08-14 Thread Or Gerlitz
From: Hadar Hen Zion The RDMA stack allows for applications to create IB_QPT_RAW_PACKET QPs, for which plain Ethernet packets are used, specifically packets which don't carry any QPN to be matched by the receiving side. Applications using these QPs must be provided with a method to program some

Re: [PATCH V5 for-next 1/4] IB/core: Add receive Flow Steering support

2013-08-26 Thread Roland Dreier
On Wed, Aug 14, 2013 at 3:58 AM, Or Gerlitz 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 { +

Re: [PATCH V5 for-next 1/4] IB/core: Add receive Flow Steering support

2013-08-27 Thread Matan Barak
On 26/8/2013 10:07 PM, Roland Dreier wrote: On Wed, Aug 14, 2013 at 3:58 AM, Or Gerlitz 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 follow