netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniele Palmas <dnlplm@gmail.com>
To: "Bjørn Mork" <bjorn@mork.no>,
	"David Miller" <davem@davemloft.net>,
	"Jakub Kicinski" <kuba@kernel.org>,
	"Paolo Abeni" <pabeni@redhat.com>,
	"Eric Dumazet" <edumazet@google.com>
Cc: linux-usb@vger.kernel.org, netdev@vger.kernel.org,
	Daniele Palmas <dnlplm@gmail.com>
Subject: [PATCH net-next 2/2] Documentation: ABI: sysfs-class-net-qmi: document tx aggregation files
Date: Wed, 19 Oct 2022 15:25:03 +0200	[thread overview]
Message-ID: <20221019132503.6783-3-dnlplm@gmail.com> (raw)
In-Reply-To: <20221019132503.6783-1-dnlplm@gmail.com>

Add documentation for:

/sys/class/net/<iface>/qmi/tx_max_datagrams_mux
/sys/class/net/<iface>/qmi/tx_max_size_mux

related to the qmap tx aggregation feature.

Signed-off-by: Daniele Palmas <dnlplm@gmail.com>
---
 Documentation/ABI/testing/sysfs-class-net-qmi | 28 +++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/Documentation/ABI/testing/sysfs-class-net-qmi b/Documentation/ABI/testing/sysfs-class-net-qmi
index 47e6b9732337..9c69ffa64b51 100644
--- a/Documentation/ABI/testing/sysfs-class-net-qmi
+++ b/Documentation/ABI/testing/sysfs-class-net-qmi
@@ -74,3 +74,31 @@ Description:
 
 		'Pass-through' mode can be enabled when the device is in
 		'raw-ip' mode only.
+
+What:		/sys/class/net/<iface>/qmi/tx_max_datagrams_mux
+Date:		October 2022
+KernelVersion:	6.2
+Contact:	Daniele Palmas <dnlplm@gmail.com>
+Description:
+		Unsigned integer. Default: 1, meaning tx aggregation disabled
+
+		The maximum number of QMAP aggregated tx packets.
+
+		This value is returned by the modem when calling the QMI request
+		wda set data format with QMAP tx aggregation enabled: userspace
+		should take care of setting the returned value to this file.
+
+What:		/sys/class/net/<iface>/qmi/tx_max_size_mux
+Date:		October 2022
+KernelVersion:	6.2
+Contact:	Daniele Palmas <dnlplm@gmail.com>
+Description:
+		Unsigned integer
+
+		The maximum size in bytes of a block of QMAP aggregated tx packets.
+
+		This value is returned by the modem when calling the QMI request
+		wda set data format with QMAP tx aggregation enabled: userspace
+		should take care of setting the returned value to this file.
+
+		This value is not considered if tx_aggregation is disabled.
-- 
2.37.1


  parent reply	other threads:[~2022-10-19 13:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-19 13:25 [PATCH net-next 0/2] net: usb: qmi_wwan implement tx packets aggregation Daniele Palmas
2022-10-19 13:25 ` [PATCH net-next 1/2] net: usb: qmi_wwan: implement qmap uplink tx aggregation Daniele Palmas
2022-10-19 13:25 ` Daniele Palmas [this message]
2022-10-19 15:04 ` [PATCH net-next 0/2] net: usb: qmi_wwan implement tx packets aggregation Bjørn Mork
2022-10-19 15:48   ` Greg KH
2022-10-20  0:55     ` Jakub Kicinski
2022-10-19 18:04   ` Daniele Palmas

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=20221019132503.6783-3-dnlplm@gmail.com \
    --to=dnlplm@gmail.com \
    --cc=bjorn@mork.no \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=kuba@kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.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;
as well as URLs for NNTP newsgroup(s).