how to use shared mac to recevicing multicast data on B4860

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

how to use shared mac to recevicing multicast data on B4860

1,537 Views
kessionxiao
Contributor I

i want to use shared mac to recevicing multicast data on B4860. how to modify  protocol files and policy files in order to receive all the multicast pkts by USDPAA, and if any operation is necessary to enable shared mac to receive multicast data, can you give me some examples.

Labels (1)
0 Kudos
1 Reply

1,331 Views
bpe
NXP Employee
NXP Employee

Well, I don't think there is an example for exactly what you want to
do. Shared MAC configuration and related Device Tree nodes and properties
are explained in the SDK Manual, Section 7.6.1.2.3.2. The document
can be downloaded from here:

https://www.nxp.com/support/developer-resources/run-time-software/linux-sdk/linux-sdk-for-qoriq-proc...

In order to send multicasts to USPAA queues, you have to modify
the policy file. What you should alter is protocols, protocolref elements and
their options. The elements are described in the same document, section 7.4.4.5.1.14.9.
No modification to the protocol file is necessary.

SDK Linux source offers an example for USDPAA shared MAC, see
b4860qds-usdpaa-shared-interfaces.dts, example policy files for
shared interfaces are provided by Yocto package usdpaa, see
apps/ppac/usdpaa_policy_hash_shared_mac_ipv4.xml.

0 Kudos