<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 29, 2024 at 1:26 PM sagar g <<a href="mailto:sagargadher@gmail.com">sagargadher@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi All,<div><br></div><div>We are using dpdk-23.03 (Intel iAVF pci: device 8086:154c) along with FDIO23.06 VPP.</div><div><br></div><div>In VPP Application we are seeing that ESP Packet is sent out to iavf_xmit_pkts() function.</div><div><br></div><div>But ESP Packet is not sent out of NIC. </div><div><br></div><div>What could be the reasons and how to debug this? Any help would be appreciated.</div><div><br></div><div>Below is the error when I get the interface stats.</div><div><br></div><div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">vpp# show hardware-interfaces VirtualFuncEthernet0/6/0 detail<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">              Name                Idx   Link  Hardware<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">VirtualFuncEthernet0/6/0           3     up   VirtualFuncEthernet0/6/0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">  Link speed: 25 Gbps<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">  RX Queues:<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    queue thread         mode      <br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    0     vpp_wk_0 (1)   polling  <br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">  TX Queues:<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    TX Hash: [name: hash-eth-l34 priority: 50 description: Hash ethernet L34 headers]<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    queue shared thread(s)      <br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    0     no     0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    1     no     1<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    2     no     2<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    3     no     3<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    4     no     4<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    5     no     5<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    6     no     6<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">  Ethernet address fa:16:3e:f7:ea:8d<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">  Intel iAVF<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    carrier up full duplex max-frame-size 1522<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    flags: admin-up subif tx-offload intel-phdr-cksum rx-ip4-cksum int-supported int-unmaskable<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    Devargs:<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    rx: queues 1 (max 256), desc 4096 (min 64 max 4096 align 32)<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    tx: queues 7 (max 256), desc 4096 (min 64 max 4096 align 32)<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    pci: device 8086:154c subsystem 1590:0000 address 0000:00:06.00 numa 0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    module: unknown<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    max rx packet len: 9728<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    promiscuous: unicast off all-multicast on<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    vlan offload: strip off filter off qinq off<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    rx offload avail:  vlan-strip ipv4-cksum udp-cksum tcp-cksum qinq-strip<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">                       outer-ipv4-cksum vlan-filter vlan-extend scatter rss-hash<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    rx offload active: ipv4-cksum<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    tx offload avail:  vlan-insert ipv4-cksum udp-cksum tcp-cksum sctp-cksum<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">                       tcp-tso outer-ipv4-cksum qinq-insert vxlan-tnl-tso<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">                       gre-tnl-tso ipip-tnl-tso geneve-tnl-tso multi-segs<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">                       mbuf-fast-free outer-udp-cksum<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    tx offload active: ipv4-cksum udp-cksum tcp-cksum<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    rss avail:         ipv4-frag ipv4-tcp ipv4-udp ipv4-sctp ipv4-other ipv4<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">                       ipv6-frag ipv6-tcp ipv6-udp ipv6-sctp ipv6-other ipv6<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    rss active:        none<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    tx burst function: (not available)<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    rx burst function: (not available)<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px"><br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    tx frames ok                                          52<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    tx bytes ok                                         7414<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    tx errors                                              1<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    rx frames ok                                      175054<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    rx bytes ok                                     60125207<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    extended stats:<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_good_packets                                 175054<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      tx_good_packets                                     52<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_good_bytes                                 60125207<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      tx_good_bytes                                     7414<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_missed_errors                                     0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_errors                                            0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">    <b style="box-sizing:border-box">  tx_errors  </b>                                          1  ===> ESP Paket drop<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_mbuf_allocation_errors                            0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_bytes                                      60825423<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_unicast_packets                                  48<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_multicast_packets                                 0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_broadcast_packets                            175006<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_dropped_packets                                   0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      rx_unknown_protocol_packets                          0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      tx_bytes                                          7414<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      tx_unicast_packets                                  48<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      tx_multicast_packets                                 4<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      tx_broadcast_packets                                 0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      tx_dropped_packets                                   0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">  <b style="box-sizing:border-box">    tx_error_packets       </b>                              1  ===> ESP Paket drop<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      inline_ipsec_crypto_ipackets                         0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      inline_ipsec_crypto_ibytes                           0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      inline_ipsec_crypto_ierrors                          0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      inline_ipsec_crypto_ierrors_sad_lookup               0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      inline_ipsec_crypto_ierrors_not_proces               0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      inline_ipsec_crypto_ierrors_icv_fail                 0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      inline_ipsec_crypto_ierrors_length                   0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">      inline_ipsec_crypto_ierrors_misc                     0<br style="box-sizing:border-box"></div><div style="box-sizing:border-box;color:rgb(0,0,0);font-size:14px">vpp#<br style="box-sizing:border-box"></div><br></div><div><br></div><div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Regards,<br>sagar g<br></div></div></div>
</blockquote></div><br clear="all"><div><br></div><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">Regards,<br>sagar g<br></div></div>