Re: [PATCH 1/4] ath10k: improve tx status reporting

2022-05-22 Thread Kalle Valo
Sergey Ryazanov wrote: > We use ieee80211_tx_status() to report each completed tx frame. > Internally, this function calls sta_info_get_by_addrs(), what has a > couple of drawbacks: > 1. additional station lookup causes a performance degradation; > 2. mac80211 can not properly account Ethernet

Re: [PATCH 1/4] ath10k: improve tx status reporting

2022-05-18 Thread Sergey Ryazanov
On Wed, May 18, 2022 at 10:30 AM Kalle Valo wrote: > Sergey Ryazanov writes: >> On Mon, May 16, 2022 at 6:25 AM Sergey Ryazanov >> wrote: >>> --- a/drivers/net/wireless/ath/ath10k/txrx.c >>> +++ b/drivers/net/wireless/ath/ath10k/txrx.c >>> @@ -43,6 +43,7 @@ static void

Re: [PATCH 1/4] ath10k: improve tx status reporting

2022-05-18 Thread Kalle Valo
Sergey Ryazanov writes: > On Mon, May 16, 2022 at 6:25 AM Sergey Ryazanov > wrote: > >> --- a/drivers/net/wireless/ath/ath10k/txrx.c >> +++ b/drivers/net/wireless/ath/ath10k/txrx.c >> @@ -43,6 +43,7 @@ static void ath10k_report_offchan_tx(struct ath10k *ar, >> struct sk_buff *skb) >> int

Re: [PATCH 1/4] ath10k: improve tx status reporting

2022-05-16 Thread Sergey Ryazanov
On Mon, May 16, 2022 at 6:25 AM Sergey Ryazanov wrote: > We use ieee80211_tx_status() to report each completed tx frame. > Internally, this function calls sta_info_get_by_addrs(), what has a > couple of drawbacks: > 1. additional station lookup causes a performance degradation; > 2. mac80211 can

[PATCH 1/4] ath10k: improve tx status reporting

2022-05-15 Thread Sergey Ryazanov
We use ieee80211_tx_status() to report each completed tx frame. Internally, this function calls sta_info_get_by_addrs(), what has a couple of drawbacks: 1. additional station lookup causes a performance degradation; 2. mac80211 can not properly account Ethernet encapsulated frames due to the