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.

SK-AM64: (NIC) on the SK-AM64 supports native XDP or not?

Part Number: SK-AM64

Hi Team,

May I ask for help? Our customer have a concern as shown: 

do you know if the network interface controller (NIC) on the SK-AM64 supports native XDP or not? And does the Linux on SK-AM64 complied with XDP configurations open?
I once found that the TI engineers had pushed a patch for XDP support in mainline Linux (see [v8,net-next,5/5] net: ethernet: ti: cpsw: add XDP support - Patchwork (kernel.org) ).
Hope XDP programs can run on this SK-AM64 board.

I hope you can help us. Thank you so much in advance.

Kind regards,
Gerald

  • Hi,

    The CPSW for the AM64 is a different silicon IP integration. The XDP support found in cpsw.c is for SOCs prior to the AM64 and not compatible unfortunately.

    Currently adding XDP support to the AM64 CPSW driver is not in the roadmap. Would you be able to elaborate a little more on the XDP requirements or be able to provide a use case example?

    Best Regards,

    Schuyler

  • Hi Schuyler,

    Thank you for your response. Here is our customer reply as shown below:
    "
    I'm seeking for an experiment platform for a research project. What I want is in fact "running XDP on a board with asymmetric cores".

    To be honest, I once bought an STM32MP157A board from STMicro with Cortex-A7 and Cortex-M4. I compile a Linux kernel with XDP enabled. And I successfully run XDP programs on the board. However, the NIC and the driver on the board is too outdated to support native XDP. But I think there must exist possible solutions, since TI/ST both supply XDP patches to mainline Linux on CPSW/STMMAC.

    In a word, I want a board with asymmetric cores, the NIC and the driver in Linux should support native XDP.

    Sorry if this makes you confused, I have only basic experiences on eBPF/XDP. I only have little knowledge on embedded systems."

    We hope that you can further support us. Thank you so much.

    Kind regards,
    Gerald

  • Hi,

    Adding XDP to the AM64 class of processors is being evaluated, unfortunately there is not a firm or near term date yet on when this feature will be added.

    Best Regards,

    Schuyler

  • Hi Schuyler,

    Our customer have a last question:

    You mentioned that "The CPSW for the AM64 is a different silicon IP integration. The XDP support found in cpsw.c is for SOCs prior to the AM64 and not compatible unfortunately." So which class of SOCs? Maybe I can use those SOCs or related validation boards, as long as there are heterogeneous cores on them.

    Thank you so much for your support and patience.

    Kind regards,
    Gerald

  • Hi, 

    Since it appears that the customer is mentioning multiple cores, the AM57x series of devices would be the next option for them to investigate. Here is the link to evaluation boards for the AM57x. Please note I am not aware of SW examples from TI that cover how to use XDP. The AM335x and AM437x have the same class of CPSW as the AM57x.

    Best Regards,

    Schuyler