This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TDA4VH-Q1: CPSW9G Native Linux with LLDP Features

Part Number: TDA4VH-Q1
Other Parts Discussed in Thread: TDA4VH

Hi TI Experts,

Customer is working on TDA4VH SDK9.0.

They have finished implementing the CPSW9G with native Linux, having 1 * QSGMII + 2 * SGMII multilink configurations. (Test OK)

Now they are implementing their network designs of the following two operation modes.

Operation Mode 1 – one interface with four ports:

  1. An individual MAC address must be assigned to each of these Ethernet ports.
  2. MAC broadcasts must be forwarded to all Ethernet ports.
  3. MAC singlecasts must be forwarded to the appropriate Ethernet port.
  4. Each Ethernet port must identify itself via LLDP to its neighbor.
  5. A fifth MAC address represents the interface.

Operation Mode 2 – two interfaces, each of them with two ports:

  1. An individual MAC address must be assigned to each of these Ethernet ports.
  2. MAC broadcasts must be forwarded to exactly one other Ethernet port (the one, which belongs to the same interface).
  3. MAC singlecasts must be forwarded to the appropriate Ethernet port, if – and only if – it belongs to the same interface.
  4. Each Ethernet port must identify itself via LLDP to its neighbor.
  5. A fifth and a sixth MAC address represent the two interfaces.

When they are testing the LLDP feature, they have meet the following problem.

Customer has configured eth1 and eth2 of cpsw9g to switch port, then PC1 can ping to PC2, but Linux on A72 cannot ping to PC1 or PC2.

Because of that, no LLDP neighbors can be found on PC1, PC2 or Jacinto board.

May I know what would be the causes of having this problem?

Any suggestions would appreciate, thanks a lot,

Kevin

  • Hi,

    Can you please dump ALE table with above configuration and share it with us.
    Please refer to FAQ[How to print ALE table] for collecting ALE table.

    Best Regards,
    Sudheer

  • Hello Kevin,

    Assuming that there are 5 interfaces corresponding to CPSW9G namely eth1, eth2, eth3, eth4 and eth5, please run the following commands to enable all of them in Switch Mode followed by testing if the bridge interface associated with them is able to ping PC1 and PC2:

    ip link set dev eth1 down
    ip link set dev eth2 down
    ip link set dev eth3 down
    ip link set dev eth4 down
    ip link set dev eth5 down
    devlink dev param set platform/c000000.ethernet name switch_mode value true cmode runtime
    ip link add name br0 type bridge
    ip link set dev br0 type bridge ageing_time 1000
    ip link set dev eth1 up
    ip link set dev eth2 up
    ip link set dev eth3 up
    ip link set dev eth4 up
    ip link set dev eth5 up
    ip link set dev eth1 master br0
    ip link set dev eth2 master br0
    ip link set dev eth3 master br0
    ip link set dev eth4 master br0
    ip link set dev eth5 master br0
    ip link set dev br0 up
    ip link set dev br0 type bridge vlan_filtering 1
    bridge vlan add dev br0 vid 1 self
    bridge vlan add dev br0 vid 1 pvid untagged self


    Regards,
    Siddharth.