]> git.baikalelectronics.ru Git - kernel.git/commit
net/dim: use struct net_dim_sample as arg to net_dim
authorAndy Gospodarek <gospo@broadcom.com>
Tue, 9 Jan 2018 21:06:19 +0000 (16:06 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Jan 2018 20:27:45 +0000 (15:27 -0500)
commit9af1d91dbf7e3f2d86965d4ad2ee3b5460bb564d
treeb4fa5607f5f7e5655abca1b0f0fd6524e20a1c4d
parent2ea2b496e21fe53033b2ac4113a30e817e8b15b1
net/dim: use struct net_dim_sample as arg to net_dim

Simplify the arguments net_dim() by formatting them into a struct
net_dim_sample before calling the function.

Signed-off-by: Andy Gospodarek <gospo@broadcom.com>
Suggested-by: Tal Gilboa <talgi@mellanox.com>
Acked-by: Tal Gilboa <talgi@mellanox.com>
Acked-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en_txrx.c
include/linux/net_dim.h