+9
−0
+4
−16
+48
−39
Loading
Previously, if NULL was provided and the connection or listen operation failed the code would continue checking other sock implementations. This behavior is no longer necessary, as VPP sock module was removed. The remaining uring and posix implementations both rely on network kernel stack and upcoming XLIO support shares the same addressing. This legacy behavior complicates the implementation of asynchronous connect, particularly when the socket object is returned immediately. Now, when NULL is provided, the default implementation is selected and terminates on failure without iterating over other sock implementations. Change-Id: I57c68d131fac8951107d82d6b6e34db7ec2bafcc Signed-off-by:Jacek Kalwas <jacek.kalwas@nutanix.com> Reviewed-on: https://review.spdk.io/c/spdk/spdk/+/26077 Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz@tzawadzki.com> Tested-by:
SPDK Automated Test System <spdkbot@gmail.com> Reviewed-by:
Jim Harris <jim.harris@nvidia.com>