This set includes two patches, one patch is to fix cyclomatic complexity, the other patch is to support PTP, but depends on the first patch. So the two forms one set of patches.
Min Hu (Connor) (2): net/hns3: fix code check warning net/hns3: support IEEE 1588 PTP doc/guides/nics/features/hns3.ini | 2 + doc/guides/nics/hns3.rst | 1 + doc/guides/rel_notes/release_21_05.rst | 1 + drivers/net/hns3/hns3_cmd.h | 33 ++++ drivers/net/hns3/hns3_ethdev.c | 120 +++++++++++--- drivers/net/hns3/hns3_ethdev.h | 25 +++ drivers/net/hns3/hns3_ptp.c | 294 +++++++++++++++++++++++++++++++++ drivers/net/hns3/hns3_regs.h | 25 +++ drivers/net/hns3/hns3_rxtx.c | 56 ++++++- drivers/net/hns3/hns3_rxtx.h | 12 ++ drivers/net/hns3/hns3_rxtx_vec.c | 19 ++- drivers/net/hns3/meson.build | 3 +- 12 files changed, 554 insertions(+), 37 deletions(-) create mode 100644 drivers/net/hns3/hns3_ptp.c -- 2.7.4