Additionally, please figure out why carrier is down. It needs to be up.

Intel 82599

    carrier down

Steven

From: <vpp-dev@lists.fd.io> on behalf of Dave Barach <v...@barachs.net>
Date: Sunday, December 20, 2020 at 4:58 AM
To: 'Merve' <merveorakc...@gmail.com>, "vpp-dev@lists.fd.io" 
<vpp-dev@lists.fd.io>
Subject: Re: [vpp-dev] Blackholed packets after forwarding interface output

“trace add dpdk-input 100” ... run a bit of traffic ... “show trace”. That will 
tell you precisely what’s happening. Check the outbound src and dst MAC 
addresses. It’s quite possible that they have NOT been swapped...

D.

From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> On Behalf Of Merve
Sent: Sunday, December 20, 2020 5:46 AM
To: vpp-dev@lists.fd.io
Subject: [vpp-dev] Blackholed packets after forwarding interface output

Hi everyone. I created a plugin for process packet. After process İ forward 
packets interface output. For testing, I generate packet with trex and send 
vpp. Trex send packet vpp but after process in my node, vpp not send to trex.  
But when show int:

TenGigabitEthernet1/0/1           2      up          9000/0/0/0     rx packets  
            47034936

                                                                    rx bytes    
          2822096160

                                                                    tx packets  
            47034934

                                                                    tx bytes    
          2163606978
it seems to be transfer packet, but not see in trex.

vpp# show errors

   Count                  Node                              Reason              
 Severity

         1   TenGigabitEthernet1/0/0-output           interface is down         
   error

         1   TenGigabitEthernet1/0/1-output           interface is down         
   error

  11961361             null-node                      blackholed packets        
   error

         1             dpdk-input                          no error             
   error

         2             arp-reply                       ARP replies sent         
   error

         1   TenGigabitEthernet1/0/0-output           interface is down         
   error

  23381499             null-node                      blackholed packets        
   error

         1             dpdk-input                          no error             
   error

         2             arp-reply                       ARP replies sent         
   error

         1   TenGigabitEthernet1/0/1-output           interface is down         
   error

  11692073             null-node                      blackholed packets        
   error

these packets "blackholed"

Intel 82599

    carrier down

    flags: admin-up pmd maybe-multiseg tx-offload intel-phdr-cksum rx-ip4-cksum

    rx: queues 4 (max 128), desc 2048 (min 32 max 4096 align 8)

    tx: queues 4 (max 64), desc 2048 (min 32 max 4096 align 8)

    pci: device 8086:1528 subsystem 15d9:0734 address 0000:01:00.01 numa 0

    max rx packet len: 15872

    promiscuous: unicast off all-multicast on

    vlan offload: strip off filter off qinq off

    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum tcp-lro

                       macsec-strip vlan-filter vlan-extend jumbo-frame scatter

                       security keep-crc rss-hash

    rx offload active: ipv4-cksum jumbo-frame scatter

    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum

                       tcp-tso macsec-insert multi-segs security

    tx offload active: udp-cksum tcp-cksum multi-segs

    rss avail:         ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp

                       ipv6-udp ipv6-ex ipv6

    rss active:        ipv4-tcp ipv4-udp ipv4 ipv6-tcp-ex ipv6-udp-ex ipv6-tcp

                       ipv6-udp ipv6-ex ipv6

    tx burst function: ixgbe_xmit_pkts

    rx burst function: ixgbe_recv_scattered_pkts_vec



    tx frames ok                                    47034934

    tx bytes ok                                   2822096040

    rx frames ok                                    47034936

    rx bytes ok                                   2822096160

    rx missed                                      384981066

    extended stats:

      rx_good_packets                               47034936

      tx_good_packets                               47034934

      rx_good_bytes                               2822096160

      tx_good_bytes                               2822096040

      rx_missed_errors                             384981066

      rx_q0_packets                                 47034936

      rx_q0_bytes                                 2822096160

      tx_q0_packets                                 47034934

      tx_q0_bytes                                 2163606978

      mac_local_errors                                    52

      mac_remote_errors                                    2

      rx_size_64_packets                           432016002

      rx_broadcast_packets                                 3

      rx_total_packets                             432016002

      rx_total_bytes                             25920960120

      tx_total_packets                              47034934

      tx_size_64_packets                            47034934

      tx_multicast_packets                          47034933

      out_pkts_untagged                             47034934

      rx_priority0_dropped                         384981066

it seem to be received. I cant understand problem.

for trex configuration :

ip route add 16.0.0.0/8 via 10.10.1.2

ip route add 48.0.0.0/8 via 10.10.2.2

Do you have any advice about this problem?
Thanks,
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#18402): https://lists.fd.io/g/vpp-dev/message/18402
Mute This Topic: https://lists.fd.io/mt/79101024/21656
Group Owner: vpp-dev+ow...@lists.fd.io
Unsubscribe: https://lists.fd.io/g/vpp-dev/unsub [arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to