On Thu, Dec 12, 2024 at 04:34:16PM +0100, Michal Schmidt wrote: > The E810 is connected to the u-blox GNSS module over I2C. The ice driver > periodically (every ~20ms) sends AdminQ commands to poll the u-blox for > available data. Most of the time, there's no data. When the u-blox > finally responds that data is available, usually it's around 800 bytes. > It can be more or less, depending on how many NMEA messages were > configured using ubxtool. ice then proceeds to read all the data. > AdminQ and I2C are slow. The reading is performed in chunks of 15 bytes. > ice reads all of the data before passing it to the kernel GNSS subsystem > and onwards to userspace. > > Improve the NMEA message receiving latency. Pass each 15-bytes chunk to > userspace as soon as it's received. > > Tested-by: Miroslav Lichvar <mlich...@redhat.com> > Signed-off-by: Michal Schmidt <mschm...@redhat.com>
Reviewed-by: Simon Horman <ho...@kernel.org>