mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
1900daeefd
The max segment size is currently limited to the ethernet frame length of the kernel which happens to be 1514 at this point in time. However the NCM specification limits it to 64K for sixtenn bit NTB's. For peer to peer connections, increasing the segment size gives better throughput. Add support to configure this value before configfs symlink is created. Also since the NTB Out/In buffer sizes are fixed at 16384 bytes, limit the segment size to an upper cap of 8000 to allow at least a minimum of 2 MTU sized datagrams to be aggregated. Set the default MTU size for the ncm interface during function bind before network interface is registered allowing MTU to be set in parity with wMaxSegmentSize. Update gadget documentation describing the new configfs property. Signed-off-by: Krishna Kurapati <quic_kriskura@quicinc.com> Link: https://lore.kernel.org/r/20231221153216.18657-1-quic_kriskura@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
acm.rst | ||
authorization.rst | ||
chipidea.rst | ||
CREDITS | ||
dwc3.rst | ||
ehci.rst | ||
functionfs.rst | ||
gadget_configfs.rst | ||
gadget_hid.rst | ||
gadget_multi.rst | ||
gadget_printer.rst | ||
gadget_serial.rst | ||
gadget_uvc.rst | ||
gadget-testing.rst | ||
index.rst | ||
iuu_phoenix.rst | ||
linux-cdc-acm.inf | ||
linux.inf | ||
mass-storage.rst | ||
misc_usbsevseg.rst | ||
mtouchusb.rst | ||
ohci.rst | ||
raw-gadget.rst | ||
text_files.rst | ||
usb-help.rst | ||
usb-serial.rst | ||
usbdevfs-drop-permissions.c | ||
usbip_protocol.rst | ||
usbmon.rst |