aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2020-09-08 20:23:31 +0200
committerDavid S. Miller <davem@davemloft.net>2020-09-10 12:40:19 -0700
commit6eb8b7fbe3915921738b2cac211ff65b75750a04 (patch)
treec999225fedde7228cd04ef7cf10a65fcde7d8468 /net
parentMerge branch 'Allow-more-than-255-IPv4-multicast-interfaces' (diff)
downloadlinux-dev-6eb8b7fbe3915921738b2cac211ff65b75750a04.tar.xz
linux-dev-6eb8b7fbe3915921738b2cac211ff65b75750a04.zip
net: mvneta: rely on MVNETA_MAX_RX_BUF_SIZE for pkt split in mvneta_swbm_rx_frame()
In order to easily change the rx buffer size, rely on MVNETA_MAX_RX_BUF_SIZE instead of PAGE_SIZE in mvneta_swbm_rx_frame routine for rx buffer split. Currently this is not an issue since we set MVNETA_MAX_RX_BUF_SIZE to PAGE_SIZE - MVNETA_SKB_PAD but it is a good to have to configure a different rx buffer size. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions