[0/2] reduce the length of PCI name

Message ID 20230615065131.1267711-1-chaoyong.he@corigine.com (mailing list archive)


Chaoyong He June 15, 2023, 6:51 a.m. UTC
  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

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(-)