[ofa-general] [PATCH 9/16] ib/ipoib: Add LSO support to ipoib

Or Gerlitz ogerlitz at voltaire.com
Sun Jan 27 01:09:44 PST 2008


Eli Cohen wrote:
> Add LSO support to ipoib
> --- a/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
> +++ b/drivers/infiniband/ulp/ipoib/ipoib_verbs.c
> @@ -153,7 +153,8 @@ int ipoib_transport_dev_init(struct net_device *dev, struct ib_device *ca)
>  			.max_recv_sge = 1
>  		},
>  		.sq_sig_type = IB_SIGNAL_ALL_WR,
> -		.qp_type     = IB_QPT_UD
> +		.qp_type     = IB_QPT_UD,
> +		.create_flags = QP_CREATE_LSO,

This creation flag should be set only for devices supporting the 
IB_DEVICE_TCP_TSO capability


Or




More information about the general mailing list