Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

3 Commits   0 Branches   0 Tags
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  2) /*
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  3)  * Shared Memory Communications over RDMA (SMC-R) and RoCE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  4)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  5)  * Socket Closing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  6)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  7)  * Copyright IBM Corp. 2016
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  8)  *
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300  9)  * Author(s):  Ursula Braun <ubraun@linux.vnet.ibm.com>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)  */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) #ifndef SMC_CLOSE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) #define SMC_CLOSE_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) #include <linux/workqueue.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) #include "smc.h"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #define SMC_MAX_STREAM_WAIT_TIMEOUT		(2 * HZ)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) #define SMC_CLOSE_SOCK_PUT_DELAY		HZ
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) void smc_close_wake_tx_prepared(struct smc_sock *smc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) int smc_close_active(struct smc_sock *smc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) int smc_close_shutdown_write(struct smc_sock *smc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) void smc_close_init(struct smc_sock *smc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) void smc_clcsock_release(struct smc_sock *smc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) int smc_close_abort(struct smc_connection *conn);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) void smc_close_active_abort(struct smc_sock *smc);
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) 
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) #endif /* SMC_CLOSE_H */