328bf8e5a3
Creating a flow rule targeting a missing (unconfigured) queue is not possible. However, nothing really prevents the destruction of a queue with existing flow rules still pointing at it, except currently the port must be in a stopped state in order to avoid crashing. Problem is that the port cannot be restarted if flow rules cannot be re-applied due to missing queues. This flexibility will be needed by subsequent work on this PMD. Given that a PMD cannot decide on its own to remove problematic user-defined flow rules in order to restart a port, work around this restriction by making the affected ones drop-like, i.e. rules targeting nonexistent queues drop packets instead. Signed-off-by: Adrien Mazarguil <adrien.mazarguil@6wind.com> Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>