#include <stdlib.h>
#include <doca_argp.h>
#include <doca_dev.h>
#include <doca_log.h>
#include "comch_ctrl_path_common.h"
Go to the source code of this file.
◆ DEFAULT_MESSAGE
| #define DEFAULT_MESSAGE "Message from the client" |
◆ DEFAULT_PCI_ADDR
| #define DEFAULT_PCI_ADDR "03:00.0" |
◆ DEFAULT_REP_PCI_ADDR
| #define DEFAULT_REP_PCI_ADDR "b1:00.0" |
◆ DOCA_LOG_REGISTER()
| DOCA_LOG_REGISTER |
( |
COMCH_CTRL_PATH_SERVER::MAIN |
| ) |
|
◆ main()
| int main |
( |
int |
argc, |
|
|
char ** |
argv |
|
) |
| |
◆ start_comch_ctrl_path_server_sample()
| doca_error_t start_comch_ctrl_path_server_sample |
( |
const char * |
server_name, |
|
|
const char * |
dev_pci_addr, |
|
|
const char * |
rep_pci_addr, |
|
|
const char * |
text, |
|
|
const uint32_t |
text_len |
|
) |
| |
Run comch_server sample
@server_name [in]: Server name to connect to @dev_pci_addr [in]: PCI address to connect over @rep_pci_addr [in]: PCI address for the representor @text [in]: Message to send to the server @text_len [in]: Length of message
- Returns
- : DOCA_SUCCESS on success and DOCA_ERROR otherwise
Definition at line 428 of file comch_ctrl_path_server_sample.c.