Bugfix for hns SRQ and SGE. And also added all related cleanups and
refactorings.
Signed-off-by: zhengfeng luo <luozhengfeng@h-partners.com>
Signed-off-by: Chengchang Tang <tangchengchang@huawei.com>
(cherry picked from commit 1725c906505414af1774a0e787b286c6ced8c027)