Re: [PATCH net-next] bcm63xx_enet: batch process rx path

2020-12-08 Thread Sieng Piaw Liew
On Fri, Dec 04, 2020 at 10:50:45AM +0100, Eric Dumazet wrote: > > > On 12/4/20 6:46 AM, Sieng Piaw Liew wrote: > > Use netif_receive_skb_list to batch process rx skb. > > Tested on BCM6328 320 MHz using iperf3 -M 512, increasing performance > > by 12.5%. > > > > > > Well, the real question is

Re: [PATCH net-next] bcm63xx_enet: batch process rx path

2020-12-04 Thread Florian Fainelli
On 12/3/2020 9:46 PM, Sieng Piaw Liew wrote: > Use netif_receive_skb_list to batch process rx skb. > Tested on BCM6328 320 MHz using iperf3 -M 512, increasing performance > by 12.5%. > > Before: > [ ID] Interval Transfer Bandwidth Retr > [ 4] 0.00-30.00 sec 120 MBytes

Re: [PATCH net-next] bcm63xx_enet: batch process rx path

2020-12-04 Thread Eric Dumazet
On 12/4/20 6:46 AM, Sieng Piaw Liew wrote: > Use netif_receive_skb_list to batch process rx skb. > Tested on BCM6328 320 MHz using iperf3 -M 512, increasing performance > by 12.5%. > Well, the real question is why you do not simply use GRO, to get 100% performance gain or more for TCP flows.

[PATCH net-next] bcm63xx_enet: batch process rx path

2020-12-03 Thread Sieng Piaw Liew
Use netif_receive_skb_list to batch process rx skb. Tested on BCM6328 320 MHz using iperf3 -M 512, increasing performance by 12.5%. Before: [ ID] Interval Transfer Bandwidth Retr [ 4] 0.00-30.00 sec 120 MBytes 33.7 Mbits/sec 277 sender [ 4] 0.00-30.00 sec