commit | 25f40220e56b507fce186985c0ed2967b7f04596 | [log] [tgz] |
---|---|---|
author | Moni Shoua <monis@mellanox.com> | Wed Dec 23 14:56:56 2015 +0200 |
committer | Doug Ledford <dledford@redhat.com> | Wed Dec 23 10:39:53 2015 -0500 |
tree | fa7d032097203b089d308d4e9226453013da1d41 | |
parent | 045959db65c67d7189dc89ecddb5fa10aafa449d [diff] |
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>