This patch series refactor some logic of NFP PMD to make it more clear, also fix some bugs.
--- v2: * Following the reviewer's request, change a little logic of patch 10/10. * Add 'Acked-by' tag from reviewer. --- Chaoyong He (10): net/nfp: use strlcpy for copying string net/nfp: fix malloc name problem in secondary process net/nfp: simplify some function parameters net/nfp: improve the logic readability net/nfp: fix problem caused by configure function net/nfp: add check logic for port up/down function net/nfp: fix problem caused by commit end function net/nfp: fix problem caused by FEC set net/nfp: modify the comment of some control messages net/nfp: fix memory leak in VF initialization logic drivers/net/nfp/flower/nfp_flower_cmsg.h | 14 +- .../net/nfp/flower/nfp_flower_representor.c | 22 +- drivers/net/nfp/nfp_ethdev.c | 259 +++++++++--------- drivers/net/nfp/nfp_ethdev_vf.c | 7 +- drivers/net/nfp/nfp_net_common.c | 49 +++- drivers/net/nfp/nfp_net_common.h | 4 +- 6 files changed, 196 insertions(+), 159 deletions(-) -- 2.39.1