| * Shared Memory Communications over RDMA (SMC-R) and RoCE |
| * Definitions for LLC (link layer control) message handling |
| * Copyright IBM Corp. 2016 |
| * Author(s): Klaus Wacker <Klaus.Wacker@de.ibm.com> |
| * Ursula Braun <ubraun@linux.vnet.ibm.com> |
| #define SMC_LLC_FLAG_RESP 0x80 |
| #define SMC_LLC_WAIT_FIRST_TIME (5 * HZ) |
| SMC_LLC_CONFIRM_LINK = 0x01, |
| #define SMC_LLC_DATA_LEN 40 |
| struct smc_wr_rx_hdr common; |
| struct smc_llc_msg_confirm_link { /* type 0x01 */ |
| u8 sender_gid[SMC_GID_SIZE]; |
| u8 link_uid[SMC_LGR_ID_SIZE]; |
| struct smc_llc_msg_confirm_link confirm_link; |
| u8 data[SMC_LLC_DATA_LEN]; |
| int smc_llc_send_confirm_link(struct smc_link *lnk, u8 mac[], union ib_gid *gid, |
| enum smc_llc_reqresp reqresp); |
| int smc_llc_init(void) __init; |