net: cdc_ncm: add "ndp_to_end" sysfs attribute
[linux-drm-fsl-dcu.git] / Documentation / ABI / testing / sysfs-class-net-cdc_ncm
index 5cedf72df3584c89ebe10745b61c4343807704eb..f7be0e88b139d0483bca5624aa0cffb9243309b0 100644 (file)
@@ -19,6 +19,25 @@ Description:
                Set to 0 to pad all frames. Set greater than tx_max to
                disable all padding.
 
+What:          /sys/class/net/<iface>/cdc_ncm/ndp_to_end
+Date:          Dec 2015
+KernelVersion: 4.5
+Contact:       Bjørn Mork <bjorn@mork.no>
+Description:
+               Boolean attribute showing the status of the "NDP to
+               end" quirk.  Defaults to 'N', except for devices
+               already known to need it enabled.
+
+               The "NDP to end" quirk makes the driver place the NDP
+               (the packet index table) after the payload.  The NCM
+               specification does not mandate this, but some devices
+               are known to be more restrictive. Write 'Y' to this
+               attribute for temporary testing of a suspect device
+               failing to work with the default driver settings.
+
+               A device entry should be added to the driver if this
+               quirk is found to be required.
+
 What:          /sys/class/net/<iface>/cdc_ncm/rx_max
 Date:          May 2014
 KernelVersion: 3.16