mbox series

[0/2] reduce the length of PCI name

Message ID 20230615065131.1267711-1-chaoyong.he@corigine.com (mailing list archive)
Headers
Series reduce the length of PCI name |

Message

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

Comments

Ferruh Yigit June 21, 2023, 5:28 p.m. UTC | #1
On 6/15/2023 7:51 AM, Chaoyong He wrote:
> 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
>

Series applied to dpdk-next-net/main, thanks.