diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-09-08 20:23:31 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-10 12:40:19 -0700 |
commit | 6eb8b7fbe3915921738b2cac211ff65b75750a04 (patch) | |
tree | c999225fedde7228cd04ef7cf10a65fcde7d8468 /drivers/net/netdevsim | |
parent | 8c5c49a6a0518d704a084106a1ab3edcc80a1fb7 (diff) |
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 'drivers/net/netdevsim')
0 files changed, 0 insertions, 0 deletions