Hi Manuel,

Did you use DPDK with the OpenSSL crypto backend?

Could you provide traces of the packets on the encrypting node?

Regards,
Sergio

________________________________
From: vpp-dev@lists.fd.io <vpp-dev@lists.fd.io> on behalf of 
manuel.alo...@cavium.com <manuel.alo...@cavium.com>
Sent: Thursday, January 31, 2019 3:25 PM
To: vpp-dev@lists.fd.io
Subject: Re: [vpp-dev] Question about crypto dev queue pairs #vpp

Hello Sergio,

>From my side, your patch looks good to me.

Nevertheless I can't manage to properly run encryption/decryption (ipsec 
between two boards)  with the Octeon CPT hardware. (Same ipsec scenario setup 
via openssl is actually working as expected)
Do not know whether the problem is because of these qp issues or different 
problems  (dpdk-test-crypto-perf tool to test dpdk devices is working as 
expected).

Board decrypting is dropping packets because of errors in llc-input :

 sh errors: 58359552                llc-input               unknown llc 
ssap/dsap

Typically, tracing packets, I see:
Packet 1
00:01:00:408970: dpdk-input
  VirtualFunctionEthernet1/0/1 rx queue 0
  buffer 0x10c2b: current data 0, length 102, buffer-pool 0, clone-count 0, 
totlen-nifb 0, trace 0x0
                  ext-hdr-valid
                  l4-cksum-computed l4-cksum-correct
  PKT MBUF: port 0, nb_segs 1, pkt_len 102
    buf_len 2176, data_len 102, ol_flags 0x180, data_off 128, phys_addr 
0x20861680
    packet_type 0x0 l2_len 0 l3_len 0 outer_l2_len 0 outer_l3_len 0
    rss 0x0 fdir.hi 0x0 fdir.lo 0x0
    Packet Offload Flags
      PKT_RX_IP_CKSUM_GOOD (0x0080) IP cksum of RX pkt. is valid
      PKT_RX_L4_CKSUM_GOOD (0x0100) L4 cksum of RX pkt. is valid
  0x0000: 02:0f:b7:00:00:00 -> 02:0f:b7:00:00:01
00:01:00:408981: ethernet-input
  frame: flags 0x3, hw-if-index 1, sw-if-index 1
  0x0000: 02:0f:b7:00:00:00 -> 02:0f:b7:00:00:01
00:01:00:408985: llc-input
  LLC 0x18 -> null, control 0x1000
00:01:00:408989: error-drop
  llc-input: unknown llc ssap/dsap

Any idea about this llc-input issue? (It looks to be unrelated the qp problem 
but I do not have background enough to assert that)


BR,
Manuel

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#12114): https://lists.fd.io/g/vpp-dev/message/12114
Mute This Topic: https://lists.fd.io/mt/29538345/21656
Mute #vpp: https://lists.fd.io/mk?hashtag=vpp&subid=1480452
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