commit | aa8106f137b93628d531ef5ecbbcbecef99370d7 | [log] [tgz] |
---|---|---|
author | Huy Nguyen <huyn@mellanox.com> | Fri Mar 29 15:38:01 2019 -0700 |
committer | Saeed Mahameed <saeedm@mellanox.com> | Tue Apr 02 12:49:38 2019 -0700 |
tree | af753263dd0f2d44ab4ae117ff33ff7659a3dda0 | |
parent | 98a8e6fc482d96809d90fcab661835ed299359c5 [diff] |
net/mlx5: Add explicit bar address field Add bar_addr field to store bar-0 address to avoid calling pci_resource_start with hard-coded bar-0 as parameter. Also note that different mlx5 device types will have bar_addr on different bars. This patch does not change any functionality. Signed-off-by: Huy Nguyen <huyn@mellanox.com> Signed-off-by: Vu Pham <vuhuong@mellanox.com> Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>