From 2b5e6b120e58d44cace68e6c7204b541a8b0b43f Mon Sep 17 00:00:00 2001 From: Hoang-Nam Nguyen Date: Fri, 25 Jan 2008 21:18:27 +0100 Subject: IB/ehca: Add PMA support This patch enables ehca to redirect any PMA queries to the actual PMA QP. Signed-off-by: Hoang-Nam Nguyen Reviewed-by: Joachim Fenkes Reviewed-by: Christoph Raisch Signed-off-by: Roland Dreier --- drivers/infiniband/hw/ehca/ehca_iverbs.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/infiniband/hw/ehca/ehca_iverbs.h') diff --git a/drivers/infiniband/hw/ehca/ehca_iverbs.h b/drivers/infiniband/hw/ehca/ehca_iverbs.h index c469bfde270..a8a2ea585d2 100644 --- a/drivers/infiniband/hw/ehca/ehca_iverbs.h +++ b/drivers/infiniband/hw/ehca/ehca_iverbs.h @@ -187,6 +187,11 @@ int ehca_dealloc_ucontext(struct ib_ucontext *context); int ehca_mmap(struct ib_ucontext *context, struct vm_area_struct *vma); +int ehca_process_mad(struct ib_device *ibdev, int mad_flags, u8 port_num, + struct ib_wc *in_wc, struct ib_grh *in_grh, + struct ib_mad *in_mad, + struct ib_mad *out_mad); + void ehca_poll_eqs(unsigned long data); int ehca_calc_ipd(struct ehca_shca *shca, int port, -- cgit v1.2.3-70-g09d2