On 5/24/22 22:22, Thomas Monjalon wrote:
24/05/2022 21:00, Morten Brørup:
From: Thomas Monjalon [mailto:tho...@monjalon.net]
24/05/2022 17:20, Spike Du:
LWM(limit watermark) is per RX queue attribute, when RX queue
fullness reach the LWM limit, HW sends an event to dpdk application.
Please ignore this comment, it is not important, but I had to get it out of my system: I assume that the
"LWM" name is from the NIC datasheet; otherwise I would probably prefer something with
"threshold"... LWM is easily confused with "low water mark", which is the opposite of
what the LWM does. Names are always open for discussion, so I won't object to it.
Yes it is a threshold, and yes it is often called a watermark.
I think we can get more ideas and votes about the naming.
Please let's conclude on a short name which can be inserted
easily in function names.
As I understand it is an Rx queue fill (level) threshold.
"fill_thresh" or "flt" if the first one is too long.