[ovs-build] Passed: williamtu/ovs-travis#320 (numa_v6 - 0ce9d64)

Travis CI builds at travis-ci.org
Thu Oct 31 18:41:17 UTC 2019


Build Update for williamtu/ovs-travis
-------------------------------------

Build: #320
Status: Passed

Duration: 1 hr, 2 mins, and 31 secs
Commit: 0ce9d64 (numa_v6)
Author: William Tu
Message: netdev-linux: Detect numa node id.

The patch detects the numa node id from the name of the netdev,
by reading the '/sys/class/net/<devname>/device/numa_node'.
If not available, ex: virtual device, or any error happens,
return numa id 0.  Currently only the afxdp netdev type uses it,
other linux netdev types are disabled due to no use case.

Signed-off-by: William Tu <u9012063 at gmail.com>
Acked-by: Eelco Chaudron <echaudro at redhat.com>

---
v6:
  Feedbacks from Ilya
  - add thread safety check at netdev_linux_get_numa_id__, and
    pass netdev_linux
  - preserve numa cache on netlink updates
  - Tested-at:
v5:
  Feedbacks from Ilya
  - reafactor the error handling
  - add mutex lock
  - Tested-at: https://travis-ci.org/williamtu/ovs-travis/builds/601947245

v4:
  Feedbacks from Eelco
  - Tested-at: https://travis-ci.org/williamtu/ovs-travis/builds/599308893

v3:
  Feedbacks from Ilya and Eelco
  - update doc, afxdp.rst
  - fix coding style
  - fix limit of numa node max, by using ovs_numa_numa_id_is_valid
  - move the function to netdev-linux
  - cache the result of numa_id
  - add security check for netdev name
  - use fscanf instead of read and convert to int
  - revise some error message content

v2:
  address feedback from Eelco
	fix memory leak of xaspintf
	log using INFO instead of WARN

View the changeset: https://github.com/williamtu/ovs-travis/compare/c691cffb03ba^...0ce9d641a4ef

View the full build log and details: https://travis-ci.org/williamtu/ovs-travis/builds/605634673?utm_medium=notification&utm_source=email

--

You can unsubscribe from build emails from the williamtu/ovs-travis repository going to https://travis-ci.org/account/preferences/unsubscribe?repository=6871381&utm_medium=notification&utm_source=email.
Or unsubscribe from *all* email updating your settings at https://travis-ci.org/account/preferences/unsubscribe?utm_medium=notification&utm_source=email.
Or configure specific recipients for build notifications in your .travis.yml file. See https://docs.travis-ci.com/user/notifications.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-build/attachments/20191031/35bbcc26/attachment-0001.html>


More information about the build mailing list