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. --- v3: * Delete "RTE_LIBRTE_IEEE1588".
v2: * Add release doc for version 21.05. 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 | 30 ++++ drivers/net/hns3/hns3_ethdev.c | 100 ++++++++--- drivers/net/hns3/hns3_ethdev.h | 20 +++ drivers/net/hns3/hns3_ptp.c | 292 +++++++++++++++++++++++++++++++++ drivers/net/hns3/hns3_regs.h | 23 +++ drivers/net/hns3/hns3_rxtx.c | 47 +++++- drivers/net/hns3/hns3_rxtx.h | 7 + drivers/net/hns3/hns3_rxtx_vec.c | 15 +- drivers/net/hns3/meson.build | 3 +- 12 files changed, 505 insertions(+), 36 deletions(-) create mode 100644 drivers/net/hns3/hns3_ptp.c -- 2.7.4