mbox series

[net-next,0/2] net/packet: make packet_fanout.arr size configurable up to 64K

Message ID 20201106180741.2839668-1-tannerlove.kernel@gmail.com
Headers show
Series net/packet: make packet_fanout.arr size configurable up to 64K | expand

Message

Tanner Love Nov. 6, 2020, 6:07 p.m. UTC
From: Tanner Love <tannerlove@google.com>

First patch makes the change; second patch adds unit tests.

Tanner Love (2):
  net/packet: make packet_fanout.arr size configurable up to 64K
  selftests/net: test max_num_members, fanout_args in psock_fanout

 include/uapi/linux/if_packet.h             | 12 ++++
 net/packet/af_packet.c                     | 37 +++++++----
 net/packet/internal.h                      |  5 +-
 tools/testing/selftests/net/psock_fanout.c | 72 +++++++++++++++++++++-
 4 files changed, 109 insertions(+), 17 deletions(-)

Comments

Jakub Kicinski Nov. 10, 2020, 1:11 a.m. UTC | #1
On Fri,  6 Nov 2020 13:07:39 -0500 Tanner Love wrote:
> From: Tanner Love <tannerlove@google.com>
> 
> First patch makes the change; second patch adds unit tests.

Applied, thanks.