broadcom OF-DPA

简介: https://www.broadcom.com/products/ethernet-connectivity/software/of-dpahttp://broadcom-switch.github.

https://www.broadcom.com/products/ethernet-connectivity/software/of-dpa

http://broadcom-switch.github.io/of-dpa/doc/html/OFDPA_OVERVIEW.html

OpenFlow Data Plane Abstraction (OF-DPA) is an application software component that implements an adaptation layer between OpenFlow and the Broadcom Silicon SDK. OF-DPA enables scalable implementation of OpenFlow 1.3 on Broadcom switch devices. Figure 1 shows the OF-DPA software component and its relation to other OpenFlow system components.

 

 OF-DPA software is available in two packages:

  • An OEM & ODM Development Package (ODP), which is a full source code package distributed under Broadcom SLA.
  • A Community Development Package (CDP), which is an Open API library with Application Development Kit distributed on GitHub.

 

API: http://broadcom-switch.github.io/of-dpa/doc/html/group__GLOFDPAAPI.html

 

 

 

  • API Layer: Provides the northbound OF-DPA APIs. These are available via RPC in the inter-process mode or as direct function calls to a user application that links with the OF-DPA libraries. OF-DPA does not have a user interface (e.g. a CLI). All control is done via APIs. All APIs calls are synchronous and control is returned to the caller after changes are committed to the hardware.
  • OFDB Layer: This is the OF-DPA database layer. OFDB is the software database for the flow, group and port tables. It provides APIs to manage these tables. OFDB APIs are invoked by the following layers of OF-DPA:
    • API: OFDB stores the management state of the system. OFDB APIs are invoked by the API layer for configuration updates like flow addition, deletion, etc.
    • Mapping: OFDB also stores system status information like port link status, etc. The mapping layer receives these port state updates from the hardware and invokes OFDB APIs to update the port tables in the database.
    • Datapath: The datapath layer invokes OFDB APIs to traverse through flow tables etc. and perform housekeeping operations like flow aging.
  • Datapath Layer: Implements a task that wakes up periodically and traverses flow tables to perform flow aging operations. On detecting aged flows, it sends event notifications to client applications.
  • Mapping/Driver Layer: Provides system mapping and driver functions.
    • All system initialization is done here. The driver, OFDB, and datapath layers are initialized during system startup. Functions to retrieve system specific information like table sizes, valid VLANs, etc. are implemented in this layer.
    • The driver functions provide an abstraction layer over the Broadcom SDK. These functions are invoked to program and query the hardware. The driver layer defines the interface OF-DPA requires when ported to other platforms.
  • Platform Layer: Provides platform specific initialization structures and functions. These functions are invoked during system startup.

 

目录
相关文章
|
传感器 安全 算法
WIFI&BLE双模芯片市场及特点|学习笔记
快速学习WIFI&BLE双模芯片市场及特点
595 0
WIFI&BLE双模芯片市场及特点|学习笔记
|
芯片 iOS开发 MacOS
Macbook Pro 16 2020版将搭载10代酷睿,ARM再等等
今年6月份,苹果在WWDC大会上宣布与Intel“和平分手”,转身拥抱ARM,将在2021年推出搭载自研A系列芯片的Mac电脑,并且在会后就退出了搭载A12Z的Mac mini开发机。
157 0
Macbook Pro 16 2020版将搭载10代酷睿,ARM再等等
三星发布新一代SoC:Exynos 9820,采用8nm制程
三星表示,在明年初发布的Galaxy S10上,将会首次使用这款新一代SoC。
387 0
|
Linux 网络虚拟化 API
broadcom OpenNSL
https://github.com/Broadcom-Switch/OpenNSL Open Network Switch Layer (OpenNSL) is a library of network switch APIs that is openly available for progra...
2147 0