Skip to content

Multi queue with multiple host rings #964

Open
@cakturk

Description

@cakturk

Hello,

I have a few of questions about netmap. Let's say I have a setup like this;

I have an ethernet card with 4 queues and I want to intercept packets between hw ring and host ring. In doing so, I want to take advantage of netmap's multiple host ring feature. In this case, each thread will intercept between a hardware ring and a host ring. Let's say we have a setup like this:

thread0 -i netmap:em0-0 -i netmap:em0^0
thread1 -i netmap:em0-1 -i netmap:em0^1
thread2 -i netmap:em0-2 -i netmap:em0^2
thread3 -i netmap:em0-3 -i netmap:em0^3

In this setup, let's imagine that we are receiving the first syn packet of a TCP stream from em0-2. What I'm wondering is, will all the remaining packets somehow pass through the same queues, or can the rest of the packets of this TCP session enter different queues? In other words, can I completely recreate the TCP session with the packets I capture from a single queue?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions