aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorEli Cohen <[email protected]>2022-01-05 13:46:34 +0200
committerMichael S. Tsirkin <[email protected]>2022-01-14 18:50:53 -0500
commita7f46ba42485394edf9836969e220878f4908465 (patch)
tree22d5c1656381efb0173d201791d936b84608eb5e /net/lapb/lapb_timer.c
parenta64917bc2e9b1e0aa716b783c4ec879fdd280300 (diff)
vdpa/mlx5: Distribute RX virtqueues in RQT object
Distribute the available rx virtqueues amongst the available RQT entries. RQTs require to have a power of two entries. When creating or modifying the RQT, use the lowest number of power of two entries that is not less than the number of rx virtqueues. Distribute them in the available entries such that some virtqueus may be referenced twice. This allows to configure any number of virtqueue pairs when multiqueue is used. Reviewed-by: Si-Wei Liu <[email protected]> Acked-by: Jason Wang <[email protected]> Signed-off-by: Eli Cohen <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions