Use FMAN VSP Mechanism to Implement Dedicated Buffer Pool Allocation Based on the Frame Header

Document created by Yiping Wang Employee on Oct 8, 2017Last modified by Adrian Puga Candelario on Jan 20, 2020
Version 7Show Document
  • View in full screen mode

If a user is running a multiple software entities system where a single MAC may be used by several software entities simultaneously. Users may use a different VSP(Virtual Storage Profiles) for each SW entity; that way, the buffer may be private, It allows the virtualization of the buffer pool selection for frame storage (and other parameters related to storage in external memory) from the physical hardware ports.

Using VSP mechanism, different packets received on the same physical port may be stored in different BM pools based on the frame header, in a similar way to FQID selection. For example, in the case allocating a dedicated buffer pool for VLAN 2 packets, there are buffers always available for VLAN 2 traffic, if too many traffic coming in, other packets can be dropped.
Each port has a default VSP. On each PCD classification, a VSP may be selected. Received packets will be written into the destination buffer according to the VSP parameters, while the VSP is selected according to the frame headers and the PCD configuration.


Usage of VSP by FMAN Port

Add Chosen Device node in the DTS file to support Virtual storage Profile

VSP Allocation and Initialization in USDPAA Application

Define VSP in FMC PCD Policy File