diff options
author | Long Li <longli@microsoft.com> | 2022-11-03 12:16:26 -0700 |
---|---|---|
committer | Leon Romanovsky <leonro@nvidia.com> | 2022-11-10 07:57:27 +0200 |
commit | aa56549792fb348892fbbae67f6f0c71bb750b65 (patch) | |
tree | 0e81caf6a7659245adcf514ddcc690cf6fba1f88 /drivers/net/ethernet/altera | |
parent | fd325cd648f15eb9a8b32a68de3bafc72bcfe753 (diff) | |
download | linux-aa56549792fb348892fbbae67f6f0c71bb750b65.tar.bz2 |
net: mana: Define max values for SGL entries
The number of maximum SGl entries should be computed from the maximum
WQE size for the intended queue type and the corresponding OOB data
size. This guarantees the hardware queue can successfully queue requests
up to the queue depth exposed to the upper layer.
Reviewed-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: Long Li <longli@microsoft.com>
Link: https://lore.kernel.org/r/1667502990-2559-9-git-send-email-longli@linuxonhyperv.com
Acked-by: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Diffstat (limited to 'drivers/net/ethernet/altera')
0 files changed, 0 insertions, 0 deletions