diff options
| author | Saeed Mahameed <[email protected]> | 2015-06-11 11:47:27 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2015-06-11 22:55:25 +0000 |
| commit | facc9699f0fe7d65a92cc09e175662659306066d (patch) | |
| tree | 3a0bf16d0f4dcafcd2ab881e1cbf68d783e1f8a9 /net/switchdev/switchdev.c | |
| parent | net/mlx5_core: fix an error code (diff) | |
| download | kernel-facc9699f0fe7d65a92cc09e175662659306066d.tar.gz kernel-facc9699f0fe7d65a92cc09e175662659306066d.zip | |
net/mlx5e: Fix HW MTU settings
Previously we configured HW MTU to be netdev->mtu, actually we
need to configure netdev->mtu + (ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN).
Also, query MTU can not fail, hence make the relevant helper a
void functionm, add mlx5e_set_dev_port_mtu, helper function to
handle MTU setting.
Signed-off-by: Saeed Mahameed <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
