forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support Fast xmit for mesh device types by caching the header corresponding to the ethernet DA and reusing the cached header (mac, mesh, llc) everytime the packet is intended for that DA. This will avoid multiple path table lookups during header generation for a mesh packet tx. Freshness of the header is verified by identifying change in mesh paths before using the header and corresponding changes to the header and cache entry is done on the fly. Mutable fields of the header such as eth SA, tid, mesh SN, PN are updated for each xmit. Each cache entry is about 100Bytes, least used/expired entries are periodically removed when cache gets almost full. Currently the size is set to 50 entries. Driver needs to advertise NL80211_EXT_FEATURE_MESH_FAST_XMIT to enable this support and setup this cache. Signed-off-by: Sriram R <quic_srirrama@quicinc.com>
- Loading branch information
1 parent
75c5bd6
commit 14d9dd6
Showing
9 changed files
with
554 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.