aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDragos Tatulea <[email protected]>2024-06-26 13:26:49 +0300
committerMichael S. Tsirkin <[email protected]>2024-07-09 08:42:46 -0400
commit1e8dac7bb6ca9cdd7263d1526fa974353cf4ef05 (patch)
tree9d6caf071b33d101fe7b2f4840e3280954056831 /lib/test_fortify/write_overflow-strncpy-src.c
parentad9758fdafeeee52b4b31cad20acfaa8adca8b6a (diff)
vdpa/mlx5: Start off rqt_size with max VQPs
Currently rqt_size is initialized during device flag configuration. That's because it is the earliest moment when device knows if MQ (multi queue) is on or off. Shift this configuration earlier to device creation time. This implies that non-MQ devices will have a larger RQT size. But the configuration will still be correct. This is done in preparation for the pre-creation of hardware virtqueues at device add time. When that change will be added, RQT will be created at device creation time so it needs to be initialized to its max size. Reviewed-by: Cosmin Ratiu <[email protected]> Acked-by: Eugenio PĂ©rez <[email protected]> Signed-off-by: Dragos Tatulea <[email protected]> Message-Id: <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions