IB/core: Initialize UD header structure with IP and UDP headers
ib_ud_header_init() is used to format InfiniBand headers in a buffer up to (but not with) BTH. For RoCE UDP ENCAP it is required that this function would be able to build also IP and UDP headers. Signed-off-by:Moni Shoua <monis@mellanox.com> Signed-off-by:
Matan Barak <matanb@mellanox.com> Signed-off-by:
Doug Ledford <dledford@redhat.com>
Showing
- drivers/infiniband/core/ud_header.c 144 additions, 11 deletionsdrivers/infiniband/core/ud_header.c
- drivers/infiniband/hw/mlx4/qp.c 5 additions, 2 deletionsdrivers/infiniband/hw/mlx4/qp.c
- drivers/infiniband/hw/mthca/mthca_qp.c 1 addition, 1 deletiondrivers/infiniband/hw/mthca/mthca_qp.c
- include/rdma/ib_pack.h 38 additions, 7 deletionsinclude/rdma/ib_pack.h
Loading
Please register or sign in to comment