diff options
author | Parav Pandit <parav@mellanox.com> | 2020-07-20 14:27:54 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2020-07-28 02:37:36 -0700 |
commit | 8d6bd3c339a723ff2b21c432b2054f7dd96205ae (patch) | |
tree | b00068167c7582ed247a879870b7b46967d3c235 /drivers/iio/light/hid-sensor-als.c | |
parent | 0da3c12dd6fc08e40802fc102b00a37b5b415eeb (diff) |
net/mlx5: E-switch, Use eswitch total_vports
Currently steering table and rx group initialization helper
routines works on the total_vports passed as input parameter.
Both eswitch helpers work on the mlx5_eswitch and thereby have access
to esw->total_vports. Hence use it directly instead of passing it
via function input arguments.
Signed-off-by: Parav Pandit <parav@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Reviewed-by: Bodong Wang <bodong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/iio/light/hid-sensor-als.c')
0 files changed, 0 insertions, 0 deletions