diff options
author | Horatiu Vultur <[email protected]> | 2022-10-30 22:36:35 +0100 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-11-01 21:18:16 -0700 |
commit | 25f28bb1b4a7717a9df3aa574d210374ebb6bb23 (patch) | |
tree | 212ae1c33b965fc67da78b98645ec03c5df1c30a /lib/mpi/mpi-mod.c | |
parent | 486c292230166c2d61701d3c984bf9143588ea28 (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 <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions