Hi Fred,

RX/TX statistics should already be available per interface under 
/interfaces/<ifname>/{rx,tx,drops} etc. Isn't that sufficient for that stat 
case?
Regarding punting, can you describe the packet path a bit more? You have a 
packet destined to the address of the BVI, but you want to punt it somewhere 
through a specific interface?

Best
ben

________________________________________
From: [email protected] <[email protected]> on behalf of Yue Gao (yuega2) 
via lists.fd.io <[email protected]>
Sent: Tuesday, June 2, 2026 23:12
To: [email protected]
Cc: murali Venkateshaiah (muraliv)
Subject: [vpp-dev] Add a field to keep original rx interface

Hello,


When working with sonic integration, we found there are a few cases we need to 
remember the rx interface.

1. SONIC expects rx packets to be counted under member interface, not bond 
interface.

2. In VLAN bridge with bvi, ip unicast packets to the host with bvi as nexthop 
should be punted to the member interface of the bridge, not bvi.


For these cases, we need to remember the original rx sw_if_index (u32) in 
vnet_buffer_opaque2_t, for example. Do you think if this change is reasonable?


Thanks,

Fred




-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#27029): https://lists.fd.io/g/vpp-dev/message/27029
Mute This Topic: https://lists.fd.io/mt/119619157/21656
Group Owner: [email protected]
Unsubscribe: https://lists.fd.io/g/vpp-dev/leave/14379924/21656/631435203/xyzzy 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to