Re: [PATCH libibverbs 2/3] Add support for TCP segmentation offload (TSO)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 17, 2016 at 05:35:42PM +0300, Sagi Grimberg wrote:
> 
> >diff --git a/include/infiniband/verbs.h b/include/infiniband/verbs.h
> >index ccf1d51..87e4332 100644
> >+++ b/include/infiniband/verbs.h
> >@@ -209,6 +209,13 @@ enum ibv_odp_general_caps {
> > 	IBV_ODP_SUPPORT = 1 << 0,
> > };
> >
> >+#define ibv_is_qpt_supported(caps, qpt) ((caps) & (1 << (qpt)))
> 
> This looks useful, but not directly related to this patch. Would
> be better to add it in a stand-alone patch (even if its a one-liner).

And of course it should be a static inline....

Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux