[openib-general] [PATCH RFC 13/21] ofed_1_2 Added gso_size for cxgb3

Michael S. Tsirkin mst at mellanox.co.il
Mon Jan 15 23:59:26 PST 2007


> Quoting  Steve Wise <swise at opengridcomputing.com>:
> Subject: [PATCH  RFC 13/21] ofed_1_2 Added gso_size for cxgb3
> 
> 
> Added gso_size for cxgb3
> 
> Signed-off-by: Steve Wise <swise at opengridcomputing.com>
> ---
> 
>  .../2.6.5_sles9_sp3/include/linux/skbuff.h         |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/kernel_addons/backport/2.6.5_sles9_sp3/include/linux/skbuff.h b/kernel_addons/backport/2.6.5_sles9_sp3/include/linux/skbuff.h
> index cc56236..8c80451 100644
> --- a/kernel_addons/backport/2.6.5_sles9_sp3/include/linux/skbuff.h
> +++ b/kernel_addons/backport/2.6.5_sles9_sp3/include/linux/skbuff.h
> @@ -41,4 +41,7 @@ static inline int skb_can_coalesce(struc
>  	return 0;
>  }
>  
> +#define gso_size tso_size
> +#define CHECKSUM_COMPLETE CHECKSUM_HW
> +
>  #endif

We have defines (e.g. CHECKSUM_PARTIAL) at the top of this file, I think
it'll be prettier to add this there.

-- 
MST




More information about the general mailing list