diff options
| author | Parav Pandit <[email protected]> | 2021-07-13 09:36:05 +0000 |
|---|---|---|
| committer | Saeed Mahameed <[email protected]> | 2021-08-11 18:14:32 +0000 |
| commit | 5958a6fad623ad3b67a9e4d8dbd5f1874cc7039e (patch) | |
| tree | bd0836ef1a9ccf61f80c984ca6f80334dff25aac /drivers/fpga/socfpga-a10.c | |
| parent | net/mlx5: SF, use recent sysfs api (diff) | |
| download | kernel-5958a6fad623ad3b67a9e4d8dbd5f1874cc7039e.tar.gz kernel-5958a6fad623ad3b67a9e4d8dbd5f1874cc7039e.zip | |
net/mlx5: Reorganize current and maximal capabilities to be per-type
In the current code, the current and maximal capabilities are
maintained in separate arrays which are both per type. In order to
allow the creation of such a basic structure as a dynamically
allocated array, we move curr and max fields to a unified
structure so that specific capabilities can be allocated as one unit.
Signed-off-by: Parav Pandit <[email protected]>
Reviewed-by: Leon Romanovsky <[email protected]>
Reviewed-by: Shay Drory <[email protected]>
Signed-off-by: Saeed Mahameed <[email protected]>
Diffstat (limited to 'drivers/fpga/socfpga-a10.c')
0 files changed, 0 insertions, 0 deletions
