aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/net/netdevsim/dev.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2019-10-07 09:58:28 -0400
committerDavid S. Miller <davem@davemloft.net>2019-10-07 09:58:28 -0400
commit578de2f361de06ad81ba6fe0cde92ebf6ec85df7 (patch)
tree45c1d1dee313315521eeb750a4dfcd89777af460 /drivers/net/netdevsim/dev.c
parentnet: core: use helper skb_ensure_writable in more places (diff)
parentnet/tls: store decrypted on a single bit (diff)
downloadwireguard-linux-578de2f361de06ad81ba6fe0cde92ebf6ec85df7.tar.xz
wireguard-linux-578de2f361de06ad81ba6fe0cde92ebf6ec85df7.zip
Merge branch 'net-tls-minor-micro-optimizations'
Jakub Kicinski says: ==================== net/tls: minor micro optimizations This set brings a number of minor code changes from my tree which don't have a noticeable impact on performance but seem reasonable nonetheless. First sk_msg_sg copy array is converted to a bitmap, zeroing that structure takes a lot of time, hence we should try to keep it small. Next two conditions are marked as unlikely, GCC seemed to had little trouble correctly reasoning about those. Patch 4 adds parameters to tls_device_decrypted() to avoid walking structures, as all callers already have the relevant pointers. Lastly two boolean members of TLS context structures are converted to a bitfield. ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/netdevsim/dev.c')
0 files changed, 0 insertions, 0 deletions