nes: simplify nes_reg_phys_mr calling conventions
Just pass and address/size pair instead of an ib_phys_buf array. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Reviewed-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com> [core] Reviewed-by: Steve Wise <swise@opengridcomputing.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:

committed by
Doug Ledford

vanhempi
35cb3fc026
commit
f64054d850
@@ -192,7 +192,6 @@ struct nes_qp {
|
||||
};
|
||||
|
||||
struct ib_mr *nes_reg_phys_mr(struct ib_pd *ib_pd,
|
||||
struct ib_phys_buf *buffer_list, int num_phys_buf, int acc,
|
||||
u64 * iova_start);
|
||||
u64 addr, u64 size, int acc, u64 *iova_start);
|
||||
|
||||
#endif /* NES_VERBS_H */
|
||||
|
Viittaa uudesa ongelmassa
Block a user