summaryrefslogtreecommitdiff
path: root/net/core/dev.c
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2020-09-08 21:23:31 +0300
committerDavid S. Miller <davem@davemloft.net>2020-09-10 22:40:19 +0300
commit6eb8b7fbe3915921738b2cac211ff65b75750a04 (patch)
treec999225fedde7228cd04ef7cf10a65fcde7d8468 /net/core/dev.c
parent8c5c49a6a0518d704a084106a1ab3edcc80a1fb7 (diff)
downloadlinux-6eb8b7fbe3915921738b2cac211ff65b75750a04.tar.xz
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/core/dev.c')
0 files changed, 0 insertions, 0 deletions