diff options
author | Eric Dumazet <edumazet@google.com> | 2020-08-20 10:11:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-08-20 16:14:53 -0700 |
commit | 72653ae5303c626ca29fcbcbb8165a894a104adf (patch) | |
tree | d012105f74f9dea75e9dce85dc01ce5246efdf80 /lib | |
parent | 0d89419319ef68f8acc1b78377ad3e7523fead4a (diff) |
selftests: net: tcp_mmap: Use huge pages in send path
There are significant gains using huge pages when
available, as shown in [1].
This patch adds mmap_large_buffer() and uses it
in client side (tx path of this reference tool)
Following patch will use the feature for server side.
[1] https://patchwork.ozlabs.org/project/netdev/patch/20200820154359.1806305-1-edumazet@google.com/
Signed-off-by: Eric Dumazet <edumazet@google.com>
Cc: Arjun Roy <arjunroy@google.com>
Cc: Soheil Hassas Yeganeh <soheil@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions