On 10.10.2019 22:51, William Tu wrote:
On Wed, Oct 09, 2019 at 04:18:38PM -0700, William Tu wrote:
On Wed, Oct 09, 2019 at 11:20:00AM -0700, Ben Pfaff wrote:
On Wed, Oct 09, 2019 at 04:36:49PM +0200, Ilya Maximets wrote:
New 'make' target 'check-afxdp-valgrind'.

Signed-off-by: Ilya Maximets <i.maxim...@ovn.org>

Makes sense to me.  I did not test it.

Acked-by: Ben Pfaff <b...@ovn.org>

Thanks, I tested the script and it works ok.
(Although some test cases fail, I'm looking at it).


The valgrind-3.11 does not support bpf syscall wrapper, so
makce check-afxdp-valgrind always fails,

  |netdev_afxdp|ERR|xsk_socket__create failed (Function not implemented) mode: 
SKB qid: 0
  |netdev_afxdp|ERR|Failed to create AF_XDP socket on queue 0.

  + ovs-vsctl add-port br0 afxdp-p0
  + ovs-vsctl -- set interface afxdp-p0 options:n_rxq=1 type=afxdp 
options:xdpmode=skb
  --16877-- WARNING: unhandled amd64-linux syscall: 321
  --16877-- You may be able to write your own handler.
  --16877-- Read the file README_MISSING_SYSCALL_OR_IOCTL.
  --16877-- Nevertheless we consider this a bug.  Please report
  --16877-- it at http://valgrind.org/support/bug_reports.html.

Upgrade valgrind to 3.14+ works ok.

--Wiliam


Hmm. OK. Thanks for the information.
I'm using fedora image for testing with valgrind 3.15.
So I had no such issues.

Best regards, Ilya Maximets.
_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to