Skip to content

Commit 61e6696

Browse files
committed
iov serializer: buffer list is not needed for fairmq transport
1 parent ec69aa0 commit 61e6696

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/common/SubTimeFrameDPL.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class StfToDplAdapter : public ISubTimeFrameVisitor
4242
}
4343

4444
if (getenv("DATADIST_NEW_DPL_CHAN")) {
45-
IDDLOG("Inspection of DPL messages is enabled");
45+
IDDLOG("StfToDplAdapter: sending reduced-header split-payload messages.");
4646
mReducedHdr = true;
4747
}
4848
}

src/common/SubTimeFrameVisitors.cxx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ void IovSerializer::visit(SubTimeFrame& pStf)
6161

6262
// add the data
6363
for (auto &lDataMsg : lStfDataIter.mDataParts) {
64+
(void) lDataIovIdx;
65+
#if 0 // Not needed for FairMQ channels
6466
auto lDataMeta = mIovHeader.add_stf_data_iov();
6567
lDataMeta->set_iov_idx(lDataIovIdx++);
6668
lDataMeta->set_iov_start(0);
6769
lDataMeta->set_iov_size(lDataMsg->GetSize());
68-
70+
#endif
6971
mData.push_back(std::move(lDataMsg));
7072
}
7173
}

0 commit comments

Comments
 (0)