All of lore.kernel.org
 help / color / mirror / Atom feed
* SUPPORTS_CLONED_SKBS question
@ 2015-12-14 12:58 Janusz Dziedzic
  2015-12-14 13:30 ` Johannes Berg
  0 siblings, 1 reply; 2+ messages in thread
From: Janusz Dziedzic @ 2015-12-14 12:58 UTC (permalink / raw)
  To: linux-wireless, Johannes Berg, Felix Fietkau

Hello Johannes,

During ath9k test we found a performance problem in TCP TX direction.
Seems a lot of time we spent in memcpy() and this is
because ath9k don't set SUPPORTS_CLONED_SKBS, and next
pskb_expand_head() is called for every TCP frame.

Base of SUPPORTS_CLONED_SKBS description, we can set this flag
in case driver will not touch payload or tailroom.
What exactly does it mean?

What in case of headroom, while ath9k already move 80211 header - add padding
after header (skb_push(hdrlen & 3) + memmove) and remove this padding
in tx_completion.

What in case of FCS?

I am not sure this is save to set this flag for ath9k?
Any hints?

BR
Janusz

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-12-14 13:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-14 12:58 SUPPORTS_CLONED_SKBS question Janusz Dziedzic
2015-12-14 13:30 ` Johannes Berg

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.