[ofa-general] socket buffer accounting with UDP/ipoib

Or Gerlitz ogerlitz at voltaire.com
Thu Jul 5 07:10:24 PDT 2007


Eli Cohen wrote:
> I used the following patch to make things better in this regard which
> passes up to the stack smaller skbs. I am not saying this is the best
> way to handle this but I would like to hear opinions as for how we
> should address this problem.
> 
> Index: connectx_kernel/drivers/infiniband/ulp/ipoib/ipoib_ib.c
> ===================================================================
> --- connectx_kernel.orig/drivers/infiniband/ulp/ipoib/ipoib_ib.c	2007-07-05 16:54:56.000000000 +0300
> +++ connectx_kernel/drivers/infiniband/ulp/ipoib/ipoib_ib.c	2007-07-05 17:10:32.000000000 +0300
> @@ -50,6 +50,8 @@
>  		 "Enable data path debug tracing if > 0");
>  #endif
>  
> +#define SKB_LEN_THOLD 150
> +
>  static DEFINE_MUTEX(pkey_mutex);
>  
>  struct ipoib_ah *ipoib_create_ah(struct net_device *dev,
> @@ -169,7 +171,7 @@

can you resend the patch with function named appearing in each hunk (ie 
after the @@ , use diff -p flag for that)

Or.




More information about the general mailing list