face: enable fragmentation and reassembly on unicast Ethernet faces

Change-Id: I81a065866610ec499a88b451bfaeea8ad40c17e2
Refs: #4011
This commit is contained in:
Davide Pesavento
2017-08-10 22:40:16 -04:00
parent 8ca138de13
commit 00a3c9dc86
+3
View File
@@ -199,7 +199,10 @@ EthernetChannel::createFace(const ethernet::Address& remoteEndpoint,
// else, create a new face
GenericLinkService::Options options;
options.allowFragmentation = true;
options.allowReassembly = true;
options.reliabilityOptions.isEnabled = wantLpReliability;
auto linkService = make_unique<GenericLinkService>(options);
auto transport = make_unique<UnicastEthernetTransport>(*m_localEndpoint, remoteEndpoint,
persistency, m_idleFaceTimeout);