[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ygnhim70go6m.fsf@nvidia.com>
Date: Wed, 10 Feb 2021 13:25:05 +0200
From: Vlad Buslov <vladbu@...dia.com>
To: Jakub Kicinski <kuba@...nel.org>
CC: Marcelo Ricardo Leitner <marcelo.leitner@...il.com>,
Saeed Mahameed <saeed@...nel.org>,
"David S. Miller" <davem@...emloft.net>, <netdev@...r.kernel.org>,
Mark Bloch <mbloch@...dia.com>,
Saeed Mahameed <saeedm@...dia.com>,
Or Gerlitz <gerlitz.or@...il.com>
Subject: Re: [net-next V2 01/17] net/mlx5: E-Switch, Refactor setting source
port
On Tue 09 Feb 2021 at 21:50, Jakub Kicinski <kuba@...nel.org> wrote:
> On Tue, 9 Feb 2021 21:17:11 +0200 Vlad Buslov wrote:
>> 4. Decapsulated payload appears on namespaced VF with IP address
>> 5.5.5.5:
>>
>> $ sudo ip netns exec ns0 tcpdump -ni enp8s0f0v1 -vvv -c 3
>
> So there are two VFs? Hm, completely missed that. Could you *please*
> provide an ascii diagram for the entire flow? None of those dumps
> you're showing gives us the high level picture, and it's quite hard
> to follow which enpsfyxz interface is what.
Sure. Here it is:
+-------------------------------------------------------------------------------------+
| |
| OVS br TC ingress TC ingress |
| +---------------------+ +---------------------+ |
| | TC ingress | | TC ingress | |
| | +-------------+ | | +-------------+ | |
| | | | | | | | | |
| +------v---+---+ +---v---+------+ +------v---+---+ +---v---+------+ |
+---+ +-----+ +-----+ +-----+ +---+
| UL rep | | VF0 rep | | vxlan | | VF1 rep |
+---+ +-----+ +-----+ +-----+ +---+
| +-------^------+ +-^------------+ +-----^--------+ +-------------^+ |
| | | | | |
| Kernel | | | | |
| | | +---------------+ +--------------------+ | |
| | | | |namespace | | |
| | | | | | | |
| | | +------v-------+ | +--------------+ | | |
+----------------------------+ +-----------------+ +--------+
| | | VF0 | | | VF1 | | |
| | | | | | | | |
| | +----^---------+ | +----------^---+ | |
| | | | | | |
| | | +--------------------+ |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
+-------------------------------------------------------------------------------------+
| | | | | | |
| Hardware | +------+ +-------+ |
| | |
| +-----+ |
+--------+ | +----------------------------------------------------------------------+
| v |
| |
+-----+
Powered by blists - more mailing lists