From: David Miller <davem@davemloft.net>
To: vakul.garg@nxp.com
Cc: doronrk@fb.com, tom@quantonium.net, john.fastabend@gmail.com,
davejwatson@fb.com, netdev@vger.kernel.org, ebiggers@google.com,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH net][RESEND] strparser: Don't schedule in workqueue in paused state
Date: Thu, 21 Jun 2018 09:54:18 +0900 (KST) [thread overview]
Message-ID: <20180621.095418.39855891010040022.davem@davemloft.net> (raw)
In-Reply-To: <20180620215949.32334-1-vakul.garg@nxp.com>
From: Vakul Garg <vakul.garg@nxp.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@nxp.com>
Applied, thank you.
prev parent reply other threads:[~2018-06-21 0:54 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-06-20 21:59 [PATCH net][RESEND] strparser: Don't schedule in workqueue in paused state Vakul Garg
2018-06-20 17:32 ` Dave Watson
2018-06-21 0:54 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180621.095418.39855891010040022.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=davejwatson@fb.com \
--cc=doronrk@fb.com \
--cc=ebiggers@google.com \
--cc=john.fastabend@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=tom@quantonium.net \
--cc=vakul.garg@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox