diff options
| author | Jakub Kicinski <[email protected]> | 2022-03-11 10:43:04 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2022-03-12 07:10:22 +0000 |
| commit | e900db704c8512bce5641639e6b069ebaccf9c90 (patch) | |
| tree | 3ceedf91e168d9c8f2ee3fdf0de778af13348fdd /drivers/net/dsa/dsa_loop.c | |
| parent | nfp: use dev_info for the DMA mask (diff) | |
| download | kernel-e900db704c8512bce5641639e6b069ebaccf9c90.tar.gz kernel-e900db704c8512bce5641639e6b069ebaccf9c90.zip | |
nfp: parametrize QCP offset/size using dev_info
The queue controller (QCP) is accessed based on a device specific
offset. The NFP3800 device also supports more queues.
Furthermore, the NFP3800 VFs also access the QCP differently to how the
NFP6000 VFs accesses it, though still indirectly. Fortunately, we can
remove the offset all together for both VF types. This is safe for
NFP6000 VFs since the offset was effectively a wrap around and only used
for convenience to have it set the same as the NFP6000 PF.
Use nfp_dev_info to store queue controller parameters.
Signed-off-by: Dirk van der Merwe <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Fei Qin <[email protected]>
Signed-off-by: Simon Horman <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
0 files changed, 0 insertions, 0 deletions
