net/mlx5: support new global device syntax
authorXueming Li <xuemingl@nvidia.com>
Thu, 23 Sep 2021 06:45:26 +0000 (14:45 +0800)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 29 Sep 2021 16:55:54 +0000 (18:55 +0200)
commit6428e0327cf864f681a5890e18eed622bf607f9f
tree9c32d46f599d5d38b0c269a720d379dcb9ad9370
parentba55c94a7ebc386d2288d6578ed57aad6cb92657
net/mlx5: support new global device syntax

This patch support new global device syntax like:
bus=pci,addr=BB:DD.F/class=eth/driver=mlx5,devargs,..

In driver parameters check, ignores "driver" key which is part of new
global device syntax instead of reporting error.

Signed-off-by: Xueming Li <xuemingl@nvidia.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@nvidia.com>
drivers/net/mlx5/mlx5.c