summaryrefslogtreecommitdiffstats
path: root/drivers/powercap
diff options
context:
space:
mode:
authorMajd Dibbiny <majd@mellanox.com>2015-06-04 19:30:43 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-04 16:41:01 -0700
commite760152d08da78aa160e68ac90bf8f3f10aff462 (patch)
tree677d7691c175a8fe684c30e3392b8d0513a8f062 /drivers/powercap
parent211e6c80e5a68ef39a81484583e8efbf9774627d (diff)
downloadlinux-e760152d08da78aa160e68ac90bf8f3f10aff462.tar.gz
linux-e760152d08da78aa160e68ac90bf8f3f10aff462.tar.bz2
linux-e760152d08da78aa160e68ac90bf8f3f10aff462.zip
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 <majd@mellanox.com> Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/powercap')
0 files changed, 0 insertions, 0 deletions