freebsd-skq/sys/dev/mlx5
hselasky de9c6c6b70 Use vport rather than physical-port MTU in mlx5en(4).
Set and report vport MTU rather than physical MTU,
The driver will set both vport and physical port mtu
and will rely on the query of vport mtu.

SRIOV VFs have to report their MTU to their vport manager (PF),
and this will allow them to work with any MTU they need
without failing the request.

Also for some cases where the PF is not a port owner, PF can
work with MTU less than the physical port mtu if set physical
port mtu didn't take effect.

Based on Linux upstream commit:
cd255efff9baadd654d6160e52d17ae7c568c9d3

Submitted by:	Meny Yossefi <menyy@mellanox.com>
MFC after:	1 week
Sponsored by:	Mellanox Technologies
2018-03-08 15:47:17 +00:00
..
mlx5_core Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
mlx5_en Use vport rather than physical-port MTU in mlx5en(4). 2018-03-08 15:47:17 +00:00
mlx5_ib Add support for explicit congestion notification, ECN, to mlx5ib(4). 2018-03-08 11:23:14 +00:00
cmd.h Remove duplicate prototypes. 2018-03-08 15:37:09 +00:00
cq.h Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
device.h Add vendor specific capability interface support in mlx5core. 2018-03-08 11:59:47 +00:00
diagnostics.h Make "desc" pointer non-constant inside the mlx5_core_diagnostics_entry 2017-01-30 08:35:15 +00:00
doorbell.h Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards 2015-11-10 12:20:22 +00:00
driver.h Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
fs.h Refactor the flowsteering APIs used by mlx5en(4). This change is needed by 2017-11-10 09:49:08 +00:00
mlx5_ifc.h Add vendor specific capability interface support in mlx5core. 2018-03-08 11:59:47 +00:00
mlx5_rdma_if.h Add mlx5 and mlx5en driver(s) for ConnectX-4 and ConnectX-4LX cards 2015-11-10 12:20:22 +00:00
mlx5io.h Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
port.h Add support for per priority flow control, PFC, to mlx5en(4). 2018-03-08 11:40:39 +00:00
qp.h Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
srq.h Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
vport.h Add API function to query port performance counters for infiniband and RoCE 2017-11-10 13:58:49 +00:00