rxe.h (c39f2d9db0fd81ea20bb5cce9b3f082ca63753e2) rxe.h (72a7720fca37fec0daf295923f17ac5d88a613e1)
1/*
2 * Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved.
3 * Copyright (c) 2015 System Fabric Works, Inc. All rights reserved.
4 *
5 * This software is available to you under a choice of one of two
6 * licenses. You may choose to be licensed under the terms of the GNU
7 * General Public License (GPL) Version 2, available from the file
8 * COPYING in the main directory of this source tree, or the

--- 51 unchanged lines hidden (view full) ---

60#include "rxe_loc.h"
61
62/*
63 * Version 1 and Version 2 are identical on 64 bit machines, but on 32 bit
64 * machines Version 2 has a different struct layout.
65 */
66#define RXE_UVERBS_ABI_VERSION 2
67
1/*
2 * Copyright (c) 2016 Mellanox Technologies Ltd. All rights reserved.
3 * Copyright (c) 2015 System Fabric Works, Inc. All rights reserved.
4 *
5 * This software is available to you under a choice of one of two
6 * licenses. You may choose to be licensed under the terms of the GNU
7 * General Public License (GPL) Version 2, available from the file
8 * COPYING in the main directory of this source tree, or the

--- 51 unchanged lines hidden (view full) ---

60#include "rxe_loc.h"
61
62/*
63 * Version 1 and Version 2 are identical on 64 bit machines, but on 32 bit
64 * machines Version 2 has a different struct layout.
65 */
66#define RXE_UVERBS_ABI_VERSION 2
67
68#define RDMA_LINK_PHYS_STATE_LINK_UP (5)
69#define RDMA_LINK_PHYS_STATE_DISABLED (3)
70#define RDMA_LINK_PHYS_STATE_POLLING (2)
71
72#define RXE_ROCE_V2_SPORT (0xc000)
73
74static inline u32 rxe_crc32(struct rxe_dev *rxe,
75 u32 crc, void *next, size_t len)
76{
77 u32 retval;
78 int err;
79

--- 37 unchanged lines hidden ---
68#define RXE_ROCE_V2_SPORT (0xc000)
69
70static inline u32 rxe_crc32(struct rxe_dev *rxe,
71 u32 crc, void *next, size_t len)
72{
73 u32 retval;
74 int err;
75

--- 37 unchanged lines hidden ---