aregm / nff-go

NFF-Go -Network Function Framework for GO (former YANFF)
BSD 3-Clause "New" or "Revised" License
1.38k stars 156 forks source link

Support >255 flows #740

Open ahelsing opened 2 years ago

ahelsing commented 2 years ago

https://github.com/intel-go/nff-go/blob/master/flow/flow.go#L1161 Casting the uint flowNumber to uint8 limits us to 255 paths/flows. I'd love to support (many) more.

Has anyone tried doing this?

It looks like perhaps the fix is limited to flow.go? Perhaps simply changing the uint8 -> uint in that file?

Or am I missing something?