[CORE,HW] remove PDO from the upper HCA interface. [mlnx: 4197]
authorleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 29 Mar 2009 15:40:56 +0000 (15:40 +0000)
committerleonidk <leonidk@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Sun, 29 Mar 2009 15:40:56 +0000 (15:40 +0000)
commit3a4092043fea74793f3fa01a2b1b4200940d7f6c
tree0da603570f574237ee6ad35920546b7deca9b084
parent156e2952dd0a6ff6e5bf04b01279f03112b965f6
[CORE,HW] remove PDO from the upper HCA interface. [mlnx: 4197]

This patch removes p_hca_dev field of the upper CA interface (ci_interface_t), which contains PDO of HCA device.
IBBUS, now sitting over HCA, gets this PDO in add_device function and stores it (in this patch) in new p_hca_dev field in IBAL CA object.
All the usages of ci_interface_t.p_hca_dev  field is replaced by usage of p_hca_dev in IBAL CA object.

p_hca_obj field, added in 2019 patch in RDMA_INTERFACE_VERBS, removed and placed instead of p_hca_dev in ci_interface_t.

Removing of PDO filed from the interface required changing of ib_register_ca prototype (for technical reasons).
It is - an interface function, so the interface version number was increased (IB_CI_INTERFACE_VERSION=5).

git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@2065 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
core/al/al_ca.h
core/al/kernel/al_mgr.c
core/bus/kernel/bus_iou_mgr.c
core/bus/kernel/bus_pnp.c
core/bus/kernel/bus_port_mgr.c
core/winmad/kernel/wm_driver.c
core/winverbs/kernel/wv_driver.c
inc/iba/ib_ci.h
inc/kernel/iba/ib_ci_ifc.h
inc/kernel/rdma/verbs.h