rsi: buffer full check optimization
We get buffer full event from firmware whenever Tx queue is full Host should stop writing packets after this and resume after buffer free event. Buffer status checking is optimized for once in 4 times if BUFF_FULL condition is not set, otherwise once for every packet. Signed-off-by: Karun Eagalapati <karun256@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:

committed by
Kalle Valo

parent
23e414cca1
commit
d64dd2a172
@@ -114,6 +114,7 @@ struct rsi_91x_sdiodev {
|
||||
u8 prev_desc[16];
|
||||
u16 tx_blk_size;
|
||||
u8 write_fail;
|
||||
bool buff_status_updated;
|
||||
};
|
||||
|
||||
void rsi_interrupt_handler(struct rsi_hw *adapter);
|
||||
|
Reference in New Issue
Block a user