smc_llc.h (0f6271264afd975bc599d6f30f3693e9aea57036) smc_llc.h (313164da55da0fb24191e729f989f4b2c2793ead)
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
4 *
5 * Definitions for LLC (link layer control) message handling
6 *
7 * Copyright IBM Corp. 2016
8 *

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

21
22enum smc_llc_reqresp {
23 SMC_LLC_REQ,
24 SMC_LLC_RESP
25};
26
27enum smc_llc_msg_type {
28 SMC_LLC_CONFIRM_LINK = 0x01,
1/* SPDX-License-Identifier: GPL-2.0 */
2/*
3 * Shared Memory Communications over RDMA (SMC-R) and RoCE
4 *
5 * Definitions for LLC (link layer control) message handling
6 *
7 * Copyright IBM Corp. 2016
8 *

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

21
22enum smc_llc_reqresp {
23 SMC_LLC_REQ,
24 SMC_LLC_RESP
25};
26
27enum smc_llc_msg_type {
28 SMC_LLC_CONFIRM_LINK = 0x01,
29 SMC_LLC_TEST_LINK = 0x07,
29};
30
31/* transmit */
32int smc_llc_send_confirm_link(struct smc_link *lnk, u8 mac[], union ib_gid *gid,
33 enum smc_llc_reqresp reqresp);
30};
31
32/* transmit */
33int smc_llc_send_confirm_link(struct smc_link *lnk, u8 mac[], union ib_gid *gid,
34 enum smc_llc_reqresp reqresp);
35int smc_llc_send_test_link(struct smc_link *lnk, u8 user_data[16],
36 enum smc_llc_reqresp reqresp);
34int smc_llc_init(void) __init;
35
36#endif /* SMC_LLC_H */
37int smc_llc_init(void) __init;
38
39#endif /* SMC_LLC_H */