diff options
author | Weihang Li <[email protected]> | 2020-11-16 19:33:24 +0800 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2020-11-26 15:24:48 -0400 |
commit | 3631dadfb118821236098a215e59fb5d3e1c30a8 (patch) | |
tree | 2ebf46104ffa83c0b5701d26e42c4f9170a2f9d9 /net/lapb/lapb_subr.c | |
parent | fba429fcf9a5e0c4ec2523ecf4cf18bc0507fcbc (diff) |
RDMA/hns: Avoid setting loopback indicator when smac is same as dmac
The loopback flag will be set to 1 by the hardware when the source mac
address is same as the destination mac address. So the driver don't need
to compare them.
Fixes: d6a3627e311c ("RDMA/hns: Optimize wqe buffer set flow for post send")
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Weihang Li <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions