mlx5-updates-2021-10-15

1) From Rongwei Liu:
 
 Use system_image_guid and native_port_num when bonding.
 Don't relay on PCIe ids anymore.
 
 With some specific NIC, the physical devices may have PCIe IDs like
 0001:01:00.0/1 and 0002:02:00.0/1. All of these devices should have
 the same system_image_guid and device index can be queried from
 native_port_num.
 
 For matching sibling devices/port of the same HCA, compare the HCA
 GUID reported on each device rather than just assuming PCIe ids have
 similar attributes.
 
 2) From Amir Tzin: Use HCA defined Timouts
 
 Replace hard coded timeouts with values stored by firmware in default
 timeouts register (DTOR). Timeouts are read during driver load. If DTOR
 is not supported by firmware then fallback to hard coded defaults
 instead.
 
 3) From Shay Drory: Disable roce at HCA level
 Disable RoCE in Firmware when devlink roce parameter is set to off.
 
 4) A small set of trivial cleanups
 -----BEGIN PGP SIGNATURE-----
 
 iQEzBAABCAAdFiEEGhZs6bAKwk/OTgTpSD+KveBX+j4FAmFqHtsACgkQSD+KveBX
 +j592AgAlO2CFEmYMSJmeQ7jBBIFCIq26XwWYJncuuwJsY+RxilzSRVTZGEydzw3
 dfvYpUGvOox0jjRXm1kohz/BLVUW/crxhBDgr2oYYvP1yCLJtPa3lDzw5rABdt46
 +cyweKQatKE1Bfbc3t9+aecHRzi84EcwjfVB1dc1/CuzmuwThMBaE0TxuGk8fYMc
 euLKIYQHuGzY6pFMiAHp6oxb5D0H0PPzjSZD+9Jubx7j7NiKPqfGu91B1PgNCkji
 zmbIOtj1xqQHzwVErUv8AbFDbjlajqUdAG6E9j5xQZkjPhn/1VlxS8VWPhGBO+w8
 R+Ta3k/0vNFattQdtFFkTRaiElCpLw==
 =kDng
 -----END PGP SIGNATURE-----

Merge tag 'mlx5-updates-2021-10-15' of git://git.kernel.org/pub/scm/linux/kernel/git/saeed/linux

Saeed Mahameed says:

====================
mlx5-updates-2021-10-15

1) From Rongwei Liu:

Use system_image_guid and native_port_num when bonding.
Don't relay on PCIe ids anymore.

With some specific NIC, the physical devices may have PCIe IDs like
0001:01:00.0/1 and 0002:02:00.0/1. All of these devices should have
the same system_image_guid and device index can be queried from
native_port_num.

For matching sibling devices/port of the same HCA, compare the HCA
GUID reported on each device rather than just assuming PCIe ids have
similar attributes.

2) From Amir Tzin: Use HCA defined Timouts

Replace hard coded timeouts with values stored by firmware in default
timeouts register (DTOR). Timeouts are read during driver load. If DTOR
is not supported by firmware then fallback to hard coded defaults
instead.

3) From Shay Drory: Disable roce at HCA level
Disable RoCE in Firmware when devlink roce parameter is set to off.

4) A small set of trivial cleanups
====================

Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
David S. Miller 2021-10-16 08:49:19 +01:00
commit 93eb2b7721
32 changed files with 529 additions and 133 deletions