mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
RDMA/cache: Move the cache per-port data into the main ib_port_data
Like the other cases there no real reason to have another array just for the cache. This larger conversion gets its own patch. Signed-off-by: Jason Gunthorpe <[email protected]>
This commit is contained in:
parent
8ceb1357b3
commit
8faea9fd4a
2 changed files with 33 additions and 59 deletions
|
|
@ -2186,7 +2186,6 @@ struct ib_port_cache {
|
|||
struct ib_cache {
|
||||
rwlock_t lock;
|
||||
struct ib_event_handler event_handler;
|
||||
struct ib_port_cache *ports;
|
||||
};
|
||||
|
||||
struct iw_cm_verbs;
|
||||
|
|
@ -2203,6 +2202,8 @@ struct ib_port_data {
|
|||
|
||||
spinlock_t pkey_list_lock;
|
||||
struct list_head pkey_list;
|
||||
|
||||
struct ib_port_cache cache;
|
||||
};
|
||||
|
||||
/* rdma netdev type - specifies protocol type */
|
||||
|
|
|
|||
Loading…
Reference in a new issue