MCPcopy Create free account
hub / github.com/F-Stack/f-stack / memif_connect_server

Function memif_connect_server

dpdk/drivers/net/memif/memif_socket.c:1106–1115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1104}
1105
1106int
1107memif_connect_server(struct rte_eth_dev *dev)
1108{
1109 struct pmd_internals *pmd = dev->data->dev_private;
1110
1111 memset(pmd->local_disc_string, 0, ETH_MEMIF_DISC_STRING_SIZE);
1112 memset(pmd->remote_disc_string, 0, ETH_MEMIF_DISC_STRING_SIZE);
1113 pmd->flags &= ~ETH_MEMIF_FLAG_DISABLED;
1114 return 0;
1115}
1116
1117int
1118memif_connect_client(struct rte_eth_dev *dev)

Callers 1

memif_dev_startFunction · 0.85

Calls 1

memsetFunction · 0.85

Tested by

no test coverage detected