netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yixin Shen <bobankhshen@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: rdunlap@infradead.org, akpm@linux-foundation.org,
	netdev@vger.kernel.org, davem@davemloft.net, edumazet@google.com,
	ncardwell@google.com, Yixin Shen <bobankhshen@gmail.com>
Subject: [PATCH net-next] lib/win_minmax: export symbol of minmax_running_min
Date: Thu, 13 Apr 2023 16:47:26 +0000	[thread overview]
Message-ID: <20230413164726.59019-1-bobankhshen@gmail.com> (raw)

This commit export the symbol of the function minmax_running_min
to make it accessible to dynamically loaded modules. It can make
this library more general, especially for those congestion
control algorithm modules who wants to implement a windowed min
filter.

Signed-off-by: Yixin Shen <bobankhshen@gmail.com>
---
 lib/win_minmax.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/win_minmax.c b/lib/win_minmax.c
index ec10506834b6..1682e614309c 100644
--- a/lib/win_minmax.c
+++ b/lib/win_minmax.c
@@ -97,3 +97,4 @@ u32 minmax_running_min(struct minmax *m, u32 win, u32 t, u32 meas)
 
 	return minmax_subwin_update(m, win, &val);
 }
+EXPORT_SYMBOL(minmax_running_min);
-- 
2.25.1


             reply	other threads:[~2023-04-13 16:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-13 16:47 Yixin Shen [this message]
2023-04-13 17:19 ` [PATCH net-next] lib/win_minmax: export symbol of minmax_running_min Leon Romanovsky
2023-04-14  2:27   ` Yixin Shen
2023-04-14  9:00     ` Leon Romanovsky
2023-04-14 14:17     ` Eric Dumazet
2023-04-14 21:20       ` Andrew Morton
2023-04-14 15:07     ` Jakub Kicinski

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=20230413164726.59019-1-bobankhshen@gmail.com \
    --to=bobankhshen@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=ncardwell@google.com \
    --cc=netdev@vger.kernel.org \
    --cc=rdunlap@infradead.org \
    /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;
as well as URLs for NNTP newsgroup(s).