Re: [dpdk-dev] [PATCH] common/mlx5: fix physical port name pattern recognition

2020-07-09 Thread Raslan Darawsheh
Hi, > -Original Message- > From: Viacheslav Ovsiienko > Sent: Wednesday, July 8, 2020 11:52 PM > To: dev@dpdk.org > Cc: Matan Azrad ; Raslan Darawsheh > ; sta...@dpdk.org > Subject: [PATCH] common/mlx5: fix physical port name pattern recognition > > This patch makes the Infiniband device

[dpdk-dev] [PATCH] common/mlx5: fix physical port name pattern recognition

2020-07-08 Thread Viacheslav Ovsiienko
This patch makes the Infiniband device physical port name recognition more strict. Currently mlx5 PMD might recognize the names like "pf0sf0" erroneously as "pf0" and the wrong device type (host PF representor) is reported. The names like "pf0sf0" belong to PCI subfunctions which is currently not