Use the complete PCI name as the part of representor port name cause the app crash, because the name is too long.
Fix this by reduce the length, using only the parts after the first ':'. To keep unification, also use the same approach for the name of hash parameters. Long Wu (2): net/nfp: fix representor name too long net/nfp: reduce the length of PCI name drivers/net/nfp/flower/nfp_flower.c | 2 +- drivers/net/nfp/flower/nfp_flower_representor.c | 13 ++++++++----- drivers/net/nfp/nfp_flow.c | 10 ++++------ 3 files changed, 13 insertions(+), 12 deletions(-) -- 2.39.1