Loading
[PATCH OLK-5.10] RDMA/hns: Support getting GRH for UD in RoH mode when NLP = 0
driver inclusion category: feature bugzilla: https://gitee.com/openeuler/kernel/issues/IAL7SX ---------------------------------------------------------------------- When NLP = 0 in RoH mode, IP was stripped out. This means that in UD, the receiving side cannot obtain routing information. This makes CM unusable. This patch builds GRH through SMAC so that CM can be used normally. This patch cannot solve the problem of using CM in all scenarios. There are the following constraints: 1. All IP addresses on the same port are required to have the same upper 8 bits; 2. Only support using the first non link-local GID for CM. Signed-off-by:Dazhao Lao <laodazhao@huawei.com> Reviewed-by:
Ke Chen <chenke54@huawei.com>