NetFPGA / P4-NetFPGA-public

P4-NetFPGA wiki
103 stars 31 forks source link

How to recirculate packets? #6

Closed AnotherKamila closed 5 years ago

AnotherKamila commented 5 years ago

Hello,

am I right to think that the SimpleSumeSwitch architecture does not support recirculating packets? If that is the case, how can it be added? Do I need to create a custom architecture for that? If yes, do you have any idea about when the documentation/tools mentioned in #4 might be released?

Also, if I wanted to use the SDNet's packet_mod feature, would I need a custom architecture for that as well?

Thank you!

sibanez12 commented 5 years ago

Hi Kamila,

That's correct, the SimpleSumeSwitch does not support recirculating packets. If you want to add support for it you'll need to change some HDL files, mainly the nf_sume_sdnet wrapper module and the input_arbiter so that they support the extra recirculation path.

Regarding the packet_mod and PTA tool, see NetFPGA/P4-NetFPGA-live#13.

AnotherKamila commented 5 years ago

Thank you very much! I think I'll first try the packet_mod if I manage to make it work, but having this option as a backup plan is great.

I really appreciate your help! It's really useful for me to be pointed to the right things.