fmc policer core pool

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

fmc policer core pool

352件の閲覧回数
ysack
Contributor I

I'm using SDK 2.0 fmc on T4240RDB board. 

When I use policer as shown below, I see that all traffic passes through a single CPU core. How can I prevent this situation?

<policer name="policer2">

<algorithm>rfc2698</algorithm>

<color_mode>color_blind</color_mode>

<CIR>12000</CIR>

<EIR>34000</EIR>

<CBS>56000</CBS>

<EBS>78000</EBS>

<unit>packet</unit>

<action condition="on-red" type="drop"/>

0 件の賞賛
2 返答(返信)

300件の閲覧回数
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the following explanation.

This is because in DPAA1, each Ethernet interface uses one pool channel across all software portals and also one dedicated channel for each CPU. In Linux Kernel, PCD Frame queues use dedicated channels. You could refer to the section "5. Dedicated and Pool Channels Usage in Linux Kernel" in https://community.nxp.com/docs/DOC-329916 for details.

 

In the multiple flows scenario, after executing FMC policy, one flow will bind to one core.

0 件の賞賛

201件の閲覧回数
ysack
Contributor I
Thank you very much for your reply. When I clicked on the link you gave, I saw the qman_driver.c file.
Can you help me on how to use this file?
0 件の賞賛