[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180621.095418.39855891010040022.davem@davemloft.net>
Date: Thu, 21 Jun 2018 09:54:18 +0900 (KST)
From: David Miller <davem@...emloft.net>
To: vakul.garg@....com
Cc: doronrk@...com, tom@...ntonium.net, john.fastabend@...il.com,
davejwatson@...com, netdev@...r.kernel.org, ebiggers@...gle.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH net][RESEND] strparser: Don't schedule in workqueue in
paused state
From: Vakul Garg <vakul.garg@....com>
Date: Thu, 21 Jun 2018 03:29:49 +0530
> In function strp_data_ready(), it is useless to call queue_work if
> the state of strparser is already paused. The state checking should
> be done before calling queue_work. The change reduces the context
> switches and improves the ktls-rx throughput by approx 20% (measured
> on cortex-a53 based platform).
>
> Signed-off-by: Vakul Garg <vakul.garg@....com>
Applied, thank you.
Powered by blists - more mailing lists