osdep.h (777e472cd86b9394d07bf96c19dbafc2e1ff4fdc) osdep.h (04cbeeb59742a9e88d838e18b84004e9bb89ca00)
1/*-
2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB
3 *
4 * Copyright (c) 2021 - 2022 Intel Corporation
5 *
6 * This software is available to you under a choice of one of two
7 * licenses. You may choose to be licensed under the terms of the GNU
8 * General Public License (GPL) Version 2, available from the file

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

82#define if_addr_rlock(x)
83#define if_addr_runlock(x)
84
85/* constants */
86#define STATS_TIMER_DELAY 60000
87
88/* a couple of linux size defines */
89#define SZ_128 128
1/*-
2 * SPDX-License-Identifier: GPL-2.0 or Linux-OpenIB
3 *
4 * Copyright (c) 2021 - 2022 Intel Corporation
5 *
6 * This software is available to you under a choice of one of two
7 * licenses. You may choose to be licensed under the terms of the GNU
8 * General Public License (GPL) Version 2, available from the file

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

82#define if_addr_rlock(x)
83#define if_addr_runlock(x)
84
85/* constants */
86#define STATS_TIMER_DELAY 60000
87
88/* a couple of linux size defines */
89#define SZ_128 128
90#define SZ_2K SZ_128 * 16
91#define SZ_1G (SZ_1K * SZ_1K * SZ_1K)
92#define SPEED_1000 1000
93#define SPEED_10000 10000
94#define SPEED_20000 20000
95#define SPEED_25000 25000
96#define SPEED_40000 40000
97#define SPEED_100000 100000
98
99#define irdma_mb() mb()

--- 150 unchanged lines hidden ---
90#define SPEED_1000 1000
91#define SPEED_10000 10000
92#define SPEED_20000 20000
93#define SPEED_25000 25000
94#define SPEED_40000 40000
95#define SPEED_100000 100000
96
97#define irdma_mb() mb()

--- 150 unchanged lines hidden ---