Skip to content

Commit

Permalink
don't specify port while sending packet with pipeline lookup
Browse files Browse the repository at this point in the history
Summary:
as titled

pipeline look up should not need port specified

Reviewed By: srikrishnagopu

Differential Revision:
D66846839

Privacy Context Container: L1125642

fbshipit-source-id: 34d97e0c55015b649743c923085e253a1fae4e49
  • Loading branch information
Parvez Shaikh authored and facebook-github-bot committed Dec 9, 2024
1 parent 6bbd92e commit 77f59a7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fboss/agent/hw/sai/switch/SaiSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3353,7 +3353,8 @@ bool SaiSwitch::sendPacketSwitchedSync(std::unique_ptr<TxPacket> pkt) noexcept {
XLOG(DBG6) << PktUtil::hexDump(cursor);
SaiTxPacketTraits::Attributes::TxType txType(
SAI_HOSTIF_TX_TYPE_PIPELINE_LOOKUP);
SaiTxPacketTraits::TxAttributes attributes{txType, 0, std::nullopt};
SaiTxPacketTraits::TxAttributes attributes{
txType, std::nullopt, std::nullopt};
SaiHostifApiPacket txPacket{
reinterpret_cast<void*>(pkt->buf()->writableData()),
pkt->buf()->length()};
Expand Down

0 comments on commit 77f59a7

Please sign in to comment.