On Tue 09 Feb 2021 at 21:50, Jakub Kicinski <k...@kernel.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  |
         |     |
         +-----+

Reply via email to