[PATCH 0/2] reduce the length of PCI name

Chaoyong He chaoyong.he at corigine.com
Thu Jun 15 08:51:29 CEST 2023


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



More information about the dev mailing list