omec-project / up4

ONOS app and P4 program abstracting a network of switches as one big 4G/5G UPF
https://docs.sd-fabric.org/master/advanced/p4-upf.html
20 stars 13 forks source link

UP4 app should return p4info that is representative of HW resources #80

Closed ccascone closed 5 months ago

ccascone commented 3 years ago

Currently, the UP4 app expects to be programmed with the same P4Info obtained when compiling the logical pipeline. However, this one contains information that might not reflect the available hw resources, for example table size, counter size, etc. For the PFCP agent to be able to take decisions on whether to accept or not new UEs, or to optimize the counter ID allocation logic, we should support the following:

robertmacdavid commented 3 years ago

86 adds hardware counter sizes to the logical p4info. Physical table sizes is still missing, however