[lkml]   [2020]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [RFC 2/7] ath10k: Add support to process rx packet in thread
On 2020-07-22 06:00, Felix Fietkau wrote:
> On 2020-07-22 14:55, Johannes Berg wrote:
>> On Wed, 2020-07-22 at 14:27 +0200, Felix Fietkau wrote:
>>> I'm considering testing a different approach (with mt76 initially):
>>> - Add a mac80211 rx function that puts processed skbs into a list
>>> instead of handing them to the network stack directly.
>> Would this be *after* all the mac80211 processing, i.e. in place of
>> the
>> rx-up-to-stack?
> Yes, it would run all the rx handlers normally and then put the
> resulting skbs into a list instead of calling netif_receive_skb or
> napi_gro_frags.

This seems like split & batch processing. In past (ath9k), we observed
behavioral differences between netif_rx and netif_receive_skb. The
queue in netif_rx changed not just performance but also time sensitive
data. Agree that wireless stack processing might be heavier than
ethernet packet
processing. If the hardware supports rx decap offload, NAPI processing
shouldn't be
an issue. right?


 \ /
  Last update: 2020-07-23 08:12    [W:0.111 / U:1.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site