-
公开(公告)号:US20200097269A1
公开(公告)日:2020-03-26
申请号:US16142401
申请日:2018-09-26
Applicant: Intel Corporation
Inventor: Yipeng WANG , Ren WANG , Tsung-Yuan C. TAI , Jr-Shian TSAI , Xiangyang GUO
Abstract: Examples may include a method of compiling a declarative language program for a virtual switch. The method includes parsing the declarative language program, the program defining a plurality of match-action tables (MATs), translating the plurality of MATs into intermediate code, and parsing a core identifier (ID) assigned to each one of the plurality of MATs. When the core IDs of the plurality of MATs are the same, the method includes connecting intermediate code of the plurality of MATs using function calls, and translating the intermediate code of the plurality of MATs into machine code to be executed by a core identified by the core IDs.