zephyr/drivers
Marcin Niestroj 67f106820b net: ppp: consume ringbuf until it is empty
ringbuf claim API returns pointer to contiguous area. In cases when data
in ringbuf wraps the end of internal buffer, then single call to claim
data is not enough to get all data - there is remaining part on the
beginning of internal buffer. Those remaining bytes will need to wait
for next ISR handler to trigger workqueue. Theoretically this means that
data on the beginning of ringbuf can wait there forever, or simply to
the next timeout in PPP stack when data traffic continues.

Consume data from ringbuf in a loop, stopping only when claiming results
in empty buffer. This will make sure that there is no stale data in the
ringbuf.

Signed-off-by: Marcin Niestroj <m.niestroj@grinn-global.com>
2020-07-02 08:25:12 -05:00
..
adc shell: enable modules by default if shell is enabled 2020-06-24 21:37:12 -04:00
audio zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
bluetooth Bluetooth: hci: Depend on SOC not BOARD 2020-06-16 22:12:00 +02:00
can can: mcp2515: Add chip select flags 2020-07-01 16:40:03 -05:00
clock_control drivers/clock_control: Remove useless CLOCK_STM32_PLL_XTPRE config 2020-07-02 08:14:45 -05:00
console drivers: uart_mux: Add missing verfification handler 2020-06-13 16:37:58 -04:00
counter drivers: counter: rtc for stm32f2 soc series 2020-06-10 09:40:21 +02:00
crypto zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
dac shell: enable modules by default if shell is enabled 2020-06-24 21:37:12 -04:00
debug tracing: cleanup and split segger/rtt configuration options 2020-02-07 15:58:05 -05:00
display display: ssd16xx: Add chip select flags 2020-07-01 16:40:03 -05:00
dma dma: stm32: implement get_status api 2020-06-16 10:55:19 -05:00
eeprom shell: enable modules by default if shell is enabled 2020-06-24 21:37:12 -04:00
entropy drivers: entropy: nrf5: add docs and a DSB in get_entropy_isr 2020-06-17 15:55:44 +02:00
espi drivers: espi: Add support for ACPI_EC1 interface 2020-06-25 17:05:43 -04:00
ethernet drivers: ethernet: sam_gmac: Add SOC_FAMILY_SAM0 dependency 2020-07-02 08:37:17 -04:00
flash drivers: flash: at45: fix page-size writing wrap 2020-07-02 08:33:40 -04:00
gpio gpio: mcp23s17: Add chip select flags 2020-07-01 16:40:03 -05:00
hwinfo shell: enable modules by default if shell is enabled 2020-06-24 21:37:12 -04:00
i2c drivers: i2c_nrfx_{twi, twim}: Remove potential I2C deadlock 2020-07-02 08:48:24 -04:00
i2s drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
ieee802154 driver: ieee802154: rf2xx: implement setting tx power 2020-07-02 08:51:22 -04:00
interrupt_controller drivers: interrupt_controller: gicv3: Skip typr for SGI 2020-07-01 08:02:57 -04:00
ipm drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
kscan zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
led zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
led_strip drivers: led_strip: Add support for external SPI CS on APA102 LED strips 2020-07-02 08:22:31 -04:00
lora drivers: lora: Add SX126x LoRa radio support 2020-07-02 08:32:37 -04:00
modem drivers: modem: use zsock_ variants of socket API 2020-06-10 09:27:51 +03:00
net net: ppp: consume ringbuf until it is empty 2020-07-02 08:25:12 -05:00
neural_net drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
pcie drivers: pcie: Do not enable PCIe RC module shell for endpoint 2020-07-01 11:21:57 -04:00
peci zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pinmux drivers: pinmux: stm32f7: CAN, SPI, I2C pinmuxes added 2020-06-23 19:05:26 +02:00
ps2 zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
ptp_clock
pwm drivers: pwm: add a SAM0 TCC based PWM driver 2020-07-01 08:10:59 -05:00
sensor sensor: ms5607: Add chip select flags 2020-07-01 16:40:03 -05:00
serial drivers: serial: add support for Nuvoton series UART 2020-07-01 21:09:25 +02:00
spi drivers: spi: Add optional delays to mcux dspi and lpspi drivers 2020-07-02 07:57:36 -04:00
timer drivers/timer/hpet: Disable FSB interrupts 2020-06-30 21:37:54 -04:00
usb drivers: usb: fix usb_dc_ep_mps() for the SAM0 for IN endpoints 2020-06-24 21:00:59 +02:00
video zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
watchdog drivers: use macro to define device structures 2020-06-08 15:01:52 -04:00
wifi drivers: wifi: esp: Improvements to ESP driver 2020-07-02 08:52:28 -04:00
CMakeLists.txt drivers: dac: Add API for DAC peripherals 2020-04-20 17:41:48 +02:00
Kconfig drivers: dac: Add API for DAC peripherals 2020-04-20 17:41:48 +02:00