Skip to content

Update sonic-ext plugin to support portchannel punt #257

Open
yue-fred-gao wants to merge 1 commit into
sonic-net:masterfrom
yue-fred-gao:portchannel_punt
Open

Update sonic-ext plugin to support portchannel punt #257
yue-fred-gao wants to merge 1 commit into
sonic-net:masterfrom
yue-fred-gao:portchannel_punt

Conversation

@yue-fred-gao

Copy link
Copy Markdown
Contributor

why

The current port-channel implementation punts control-plane packets directly to the PortChannel<id> (bond) netdev.
This does not conform to the SONiC data-plane model. On real hardware the NPU punts control traffic to the CPU on the physical/member port it was received on.
The most visible symptom is DHCP relay. sonic-dhcp-relay / dhcrelay
(the SONiC relay agent) binds and accepts uplink packets only on port-channel member interfaces. Because today's solution delivers the frame on the PortChannel<id> netdev instead of the member, the relay agent never sees the
uplink packet and DHCP relay over a port-channel uplink is broken.

what this PR does

Update sonic-ext plugin to recognize bond and bond sub interface as aggregate interface to apply punt-via-member behavior.

Signed-off-by: Yue Gao <yuega2@cisco.com>
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants