mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
a8ae890b9c
smc_close_active_abort() is used in smc_close.c only. Make it static. Signed-off-by: Ursula Braun <ubraun@linux.vnet.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
29 lines
666 B
C
29 lines
666 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
/*
|
|
* Shared Memory Communications over RDMA (SMC-R) and RoCE
|
|
*
|
|
* Socket Closing
|
|
*
|
|
* Copyright IBM Corp. 2016
|
|
*
|
|
* Author(s): Ursula Braun <ubraun@linux.vnet.ibm.com>
|
|
*/
|
|
|
|
#ifndef SMC_CLOSE_H
|
|
#define SMC_CLOSE_H
|
|
|
|
#include <linux/workqueue.h>
|
|
|
|
#include "smc.h"
|
|
|
|
#define SMC_MAX_STREAM_WAIT_TIMEOUT (2 * HZ)
|
|
#define SMC_CLOSE_SOCK_PUT_DELAY HZ
|
|
|
|
void smc_close_wake_tx_prepared(struct smc_sock *smc);
|
|
int smc_close_active(struct smc_sock *smc);
|
|
void smc_close_sock_put_work(struct work_struct *work);
|
|
int smc_close_shutdown_write(struct smc_sock *smc);
|
|
void smc_close_init(struct smc_sock *smc);
|
|
|
|
#endif /* SMC_CLOSE_H */
|