RE: [PATCH net-next] r8152: reduce memory copy for rx

From: Hayes Wang
Date: Wed Dec 03 2014 - 02:53:46 EST

Eric Dumazet [mailto:eric.dumazet@xxxxxxxxx]
> Sent: Wednesday, December 03, 2014 2:08 PM
> Better performance for what workload exactly ?

I test it by using Chariot with 4 Tx and 4 Rx.
It has about 4% improvement.

> cloning in rx path has many drawbacks, with skb->truesize
> being usually wrong.

Excuse me. I find the skb_clone() would copy the
truesize from original skb. Do you mean the value
may not be suitable for the cloned skb?

Could other method do the same thing? Or, do you
think keeping the original one is better?

Best Regards,
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at