linux-rdma.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH for-next 0/6] RDMA/hns: Codes optimization
@ 2020-04-13  6:40 Weihang Li
  2020-04-13  6:40 ` [PATCH for-next 1/6] RDMA/hns: Optimize hns_roce_config_link_table() Weihang Li
                   ` (5 more replies)
  0 siblings, 6 replies; 11+ messages in thread
From: Weihang Li @ 2020-04-13  6:40 UTC (permalink / raw)
  To: dledford, jgg; +Cc: leon, linux-rdma, linuxarm

This series optimize some codes in hns drivers. The first two patches are
mainly to remove unnecessary memset(), and the others use map table to
simplify the conversion of values.

Lang Cheng (4):
  RDMA/hns: Simplify the qp state convert code
  RDMA/hns: Simplify the cqe code of poll cq
  RDMA/hns: Simplify the state judgment code of qp
  RDMA/hns: Simplify the status judgment code of hns_roce_v1_m_qp()

Lijun Ou (2):
  RDMA/hns: Optimize hns_roce_config_link_table()
  RDMA/hns: Optimize hns_roce_v2_set_mac()

 drivers/infiniband/hw/hns/hns_roce_hw_v1.c |  42 +++--
 drivers/infiniband/hw/hns/hns_roce_hw_v2.c | 269 +++++++++++++----------------
 2 files changed, 150 insertions(+), 161 deletions(-)

-- 
2.8.1


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2020-04-15  1:16 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-04-13  6:40 [PATCH for-next 0/6] RDMA/hns: Codes optimization Weihang Li
2020-04-13  6:40 ` [PATCH for-next 1/6] RDMA/hns: Optimize hns_roce_config_link_table() Weihang Li
2020-04-13  6:40 ` [PATCH for-next 2/6] RDMA/hns: Optimize hns_roce_v2_set_mac() Weihang Li
2020-04-13  6:40 ` [PATCH for-next 3/6] RDMA/hns: Simplify the qp state convert code Weihang Li
2020-04-14 12:56   ` Jason Gunthorpe
2020-04-15  1:15     ` liweihang
2020-04-13  6:40 ` [PATCH for-next 4/6] RDMA/hns: Simplify the cqe code of poll cq Weihang Li
2020-04-14 12:56   ` Jason Gunthorpe
2020-04-15  1:15     ` liweihang
2020-04-13  6:40 ` [PATCH for-next 5/6] RDMA/hns: Simplify the state judgment code of qp Weihang Li
2020-04-13  6:40 ` [PATCH for-next 6/6] RDMA/hns: Simplify the status judgment code of hns_roce_v1_m_qp() Weihang Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).