mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
IB: remove ib_query_mr
This functionality has no users and was only supported by the staged out EHCA driver. Signed-off-by: Christoph Hellwig <[email protected]> Reviewed-by: Sagi Grimberg <[email protected]> Reviewed-by: Jason Gunthorpe <[email protected]> [core] Reviewed-by: Steve Wise <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
This commit is contained in:
parent
b1adc7146a
commit
a4d825a01e
5 changed files with 0 additions and 77 deletions
|
|
@ -1288,15 +1288,6 @@ struct ib_phys_buf {
|
|||
u64 size;
|
||||
};
|
||||
|
||||
struct ib_mr_attr {
|
||||
struct ib_pd *pd;
|
||||
u64 device_virt_addr;
|
||||
u64 size;
|
||||
int mr_access_flags;
|
||||
u32 lkey;
|
||||
u32 rkey;
|
||||
};
|
||||
|
||||
enum ib_mr_rereg_flags {
|
||||
IB_MR_REREG_TRANS = 1,
|
||||
IB_MR_REREG_PD = (1<<1),
|
||||
|
|
@ -1846,8 +1837,6 @@ struct ib_device {
|
|||
int mr_access_flags,
|
||||
struct ib_pd *pd,
|
||||
struct ib_udata *udata);
|
||||
int (*query_mr)(struct ib_mr *mr,
|
||||
struct ib_mr_attr *mr_attr);
|
||||
int (*dereg_mr)(struct ib_mr *mr);
|
||||
struct ib_mr * (*alloc_mr)(struct ib_pd *pd,
|
||||
enum ib_mr_type mr_type,
|
||||
|
|
@ -2958,13 +2947,6 @@ static inline void ib_dma_free_coherent(struct ib_device *dev,
|
|||
dma_free_coherent(dev->dma_device, size, cpu_addr, dma_handle);
|
||||
}
|
||||
|
||||
/**
|
||||
* ib_query_mr - Retrieves information about a specific memory region.
|
||||
* @mr: The memory region to retrieve information about.
|
||||
* @mr_attr: The attributes of the specified memory region.
|
||||
*/
|
||||
int ib_query_mr(struct ib_mr *mr, struct ib_mr_attr *mr_attr);
|
||||
|
||||
/**
|
||||
* ib_dereg_mr - Deregisters a memory region and removes it from the
|
||||
* HCA translation table.
|
||||
|
|
|
|||
Loading…
Reference in a new issue