]> Git Repo - linux.git/commit
net/mlx5_core: Use port number in the query port mtu helpers
authorMajd Dibbiny <[email protected]>
Thu, 4 Jun 2015 16:30:43 +0000 (19:30 +0300)
committerDavid S. Miller <[email protected]>
Thu, 4 Jun 2015 23:41:01 +0000 (16:41 -0700)
commite760152d08da78aa160e68ac90bf8f3f10aff462
tree677d7691c175a8fe684c30e3392b8d0513a8f062
parent211e6c80e5a68ef39a81484583e8efbf9774627d
net/mlx5_core: Use port number in the query port mtu helpers

Extend the function prototypes for max and operational mtu to take the
local port number. In the Ethernet driver is this hard coded to one,
since ConnectX4 Ethernet devices are always function-per-port.
The IB driver also serves older devices (ConnectIB) which isn't such,
and hence the part can vary.

Signed-off-by: Majd Dibbiny <[email protected]>
Signed-off-by: Or Gerlitz <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/driver.h
This page took 0.044723 seconds and 4 git commands to generate.