summaryrefslogtreecommitdiff
path: root/io_uring/net.h
diff options
context:
space:
mode:
authorHoratiu Vultur <horatiu.vultur@microchip.com>2022-10-30 22:36:35 +0100
committerJakub Kicinski <kuba@kernel.org>2022-11-01 21:18:16 -0700
commit25f28bb1b4a7717a9df3aa574d210374ebb6bb23 (patch)
tree212ae1c33b965fc67da78b98645ec03c5df1c30a /io_uring/net.h
parent486c292230166c2d61701d3c984bf9143588ea28 (diff)
net: lan966x: Adjust maximum frame size when vlan is enabled/disabled
When vlan filtering is enabled/disabled, it is required to adjust the maximum received frame size that it can received. When vlan filtering is enabled, it would all to receive extra 4 bytes, that are the vlan tag. So the maximum frame size would be 1522 with a vlan tag. If vlan filtering is disabled then the maximum frame size would be 1518 regardless if there is or not a vlan tag. Fixes: 6d2c186afa5d ("net: lan966x: Add vlan support.") Signed-off-by: Horatiu Vultur <horatiu.vultur@microchip.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'io_uring/net.h')
0 files changed, 0 insertions, 0 deletions