if_infiniband.h 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. /* SPDX-License-Identifier: ((GPL-2.0 WITH Linux-syscall-note) OR BSD-2-Clause) */
  2. /*
  3. * This software is available to you under a choice of one of two
  4. * licenses. You may choose to be licensed under the terms of the GNU
  5. * General Public License (GPL) Version 2, available at
  6. * <http://www.fsf.org/copyleft/gpl.html>, or the OpenIB.org BSD
  7. * license, available in the LICENSE.TXT file accompanying this
  8. * software. These details are also available at
  9. * <http://www.openfabrics.org/software_license.htm>.
  10. *
  11. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  12. * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  13. * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  14. * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
  15. * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
  16. * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  17. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
  18. * SOFTWARE.
  19. *
  20. * Copyright (c) 2004 Topspin Communications. All rights reserved.
  21. *
  22. * $Id$
  23. */
  24. #ifndef _LINUX_IF_INFINIBAND_H
  25. #define _LINUX_IF_INFINIBAND_H
  26. #define INFINIBAND_ALEN 20 /* Octets in IPoIB HW addr */
  27. #endif /* _LINUX_IF_INFINIBAND_H */