Commit 21f6f41e authored by Wen Gu's avatar Wen Gu Committed by Greg Kroah-Hartman
Browse files

net/smc: {at|de}tach sndbuf to peer DMB if supported



[ Upstream commit ae2be35c ]

If the device used by SMC-D supports merging local sndbuf to peer DMB,
then create sndbuf descriptor and attach it to peer DMB once peer
token is obtained, and detach and free the sndbuf descriptor when the
connection is freed.

Signed-off-by: default avatarWen Gu <guwen@linux.alibaba.com>
Reviewed-by: default avatarWenjia Zhang <wenjia@linux.ibm.com>
Reviewed-and-tested-by: default avatarJan Karcher <jaka@linux.ibm.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
Stable-dep-of: 0541db8e ("net/smc: initialize close_work early to avoid warning")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent fe7ef3a1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment