Hi all,
I am beginner on DPAA2. I am working on LX2160 and trying to create a DPDMUX with 2 DPNI interfaces. My requirement is to bifurcate the RX packets based on MAC address.
I was able to create the DPDMUX with 2 DPNI (DPNI.1 and DPNI.2). Now when I try to ping the DPNI.1 from PC, I see the RX packet on both DPNI.1 and DPNI.2 using tcpdump command.
My understanding was that packet should only be forwarded to DPNI.1 since both DPNI.1 and DPNI.2 have different IP and MAC address.
Could anyone please help me understand what should be the expected behaviour in case I ping the DPNI.1 and DPNI.2 interfaces from the PC? Should I see the packet on both the interfaces or only on the target DPNI.
Also, please let me know if I have missed any steps to create a proper DPDMUX configuration for RX traffic bifurcation.
I have used the below commands:
#Create a dpni with no link:
ls-addni --no-link
#Created interface: eth5 (object:dpni.5, endpoint: )
#Create a DPDMUX and assign it to dprc.1
restool dpdmux create --num-ifs=2 --method=DPDMUX_METHOD_MAC --manip=DPDMUX_MANIP_NONE --option=DPDMUX_OPT_CLS_MASK_SUPPORT -- container=dprc.1
#Removing a DPMAC from DPRC.1
restool dprc disconnect dprc.1 --endpoint=dpmac.3
#Assign DPNI.5 and DPNI. X to DPDDMUX.0
restool dprc connect dprc.1 --endpoint1=dpdmux.0.0 --endpoint2=dpmac.3
restool dprc connect dprc.1 --endpoint1=dpdmux.0.1 --endpoint2=dpni.5
restool dprc connect dprc.1 --endpoint1=dpdmux.0.2 --endpoint2=dpni.3
restool dprc assign dprc.1 --object=dpdmux.0 --plugged=1
# ls-listni
dprc.1/dpni.5 (interface: eth5, end point: dpdmux.0.1)
dprc.1/dpni.3 (interface: eth1, end point: dpdmux.0.2)
Also do we need to do any configuration in fdb? Or set some rules using ethtool.
Thanks for your help.
Regards,
Ruby