kohler / click

The Click modular router: fast modular packet processing and analysis
Other
740 stars 321 forks source link

ToDevice(.k) : Set queue_mapping to 0 #360

Open tbarbette opened 7 years ago

tbarbette commented 7 years ago

Somehow, even with only one queue in RX this field is dangling to value != 0. Fix #359 . In ixgbe and i40e that lead to accessing an inexisting queue. But also probably others.

Proper support would be to initialize the device with multiple queues, or use multiple ToDevice with a QUEUE argument and use one queue per thread. But that's for another day...