eSwitch MAC learning between VF and PF

Hi Team,

I am using connectx-6 as a switch. The eSwitch is in legacy mode. I have several VFs and each VF may have hundreds CPEs. So for the packet sends out from VF, the PF can forward it. For the packets that PF received, it can’t forward to VF.
I think the MAC learning is enabled by default. When there is a packet sent out from VF, the source MAC address should be learned. When the PF receives a packet, it will check the destination MAC, once it matches the learned MAC, it can forward the packet to VF.
However, the above case doesn’t work as expected. There is no packet received by VF. I see the packets are received by PF via “ethtool -S enp55s0f1np1 | grep phy”.
BTW, both direction traffic has VLAN tagged.
Could you give some help, how to check the MAC learning? Where the packets are dropped? If the MAC learning is disabled, how can I enable it?
Thanks

pls refer as eswitch mode