diff options
author | 2017-01-29 18:56:18 +0200 | |
---|---|---|
committer | 2017-01-30 15:26:43 -0500 | |
commit | 40fb4fc1e18bc641a0d0887ac21943fd194c1fa9 (patch) | |
tree | 73b5c9923810dd4ba27112cd0c635682441f6999 /include/linux/mlx4 | |
parent | net/mlx4_en: Adding support of turning off link autonegotiation via ethtool (diff) | |
download | linux-40fb4fc1e18bc641a0d0887ac21943fd194c1fa9.tar.gz linux-40fb4fc1e18bc641a0d0887ac21943fd194c1fa9.tar.bz2 linux-40fb4fc1e18bc641a0d0887ac21943fd194c1fa9.zip |
net/mlx4_en: Pass user MTU value to Firmware at set port command
When starting the port, driver will inform Firmware about the actual MTU
which does not include implicit headers, such as FCS or VLAN tags.
Signed-off-by: Shaker Daibes <shakerd@mellanox.com>
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r-- | include/linux/mlx4/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h index c3ac945b2759..7e66e4f62858 100644 --- a/include/linux/mlx4/device.h +++ b/include/linux/mlx4/device.h @@ -1374,6 +1374,7 @@ int mlx4_get_base_qpn(struct mlx4_dev *dev, u8 port); int __mlx4_replace_mac(struct mlx4_dev *dev, u8 port, int qpn, u64 new_mac); int mlx4_SET_PORT_general(struct mlx4_dev *dev, u8 port, int mtu, u8 pptx, u8 pfctx, u8 pprx, u8 pfcrx); +int mlx4_SET_PORT_user_mtu(struct mlx4_dev *dev, u8 port, u16 user_mtu); int mlx4_SET_PORT_qpn_calc(struct mlx4_dev *dev, u8 port, u32 base_qpn, u8 promisc); int mlx4_SET_PORT_BEACON(struct mlx4_dev *dev, u8 port, u16 time); |