Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snabb 2022.01 “Octarina” #1467

Merged
merged 266 commits into from
Jan 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
266 commits
Select commit Hold shift + click to select a range
87191fe
Merge branch 'master' into mellanox
lukego Jun 8, 2016
e77b579
Merge branch 'mellanox-open-step' into mellanox
lukego Jun 8, 2016
13e6550
connectx4: Set debug = false
lukego Jun 9, 2016
cd8e30e
connectx4: Remove stray print statements
lukego Jun 9, 2016
a285999
connectx4: Move checkstatus() into post()
lukego Jun 9, 2016
4575dc7
connectx4: Device initialization fixes
lukego Jun 9, 2016
f87817f
Merge branch 'mellanox-open-step' into mellanox
lukego Jun 9, 2016
8c0be9d
connectx4: Comment on ommitted SET_DRIVER_VERSION
lukego Jun 14, 2016
f196ac7
connectx4: Added CREATE_EQ (event queue) command
lukego Jun 14, 2016
c1cee02
connectx4: Added initial VPORT commands
lukego Jun 14, 2016
21e2507
Merge pull request #943 from lukego/mellanox-open-step
lukego Jun 14, 2016
5812688
Merge tag 'v2016.06' into mellanox
lukego Jun 14, 2016
51d4d45
connectx4: Give 'lock' argument to map_pci_memory
lukego Jun 14, 2016
7659eb6
connectx4: Clean driver initialization
lukego Jun 14, 2016
ade9645
Merge branch 'snabbco/master' (v2016.10) into mellanox
lukego Oct 28, 2016
21d0dc3
connectx4: Refactored for multiprocess operation
lukego Oct 28, 2016
f08da3c
connectx4: IO app now has only 1xSQ and 1xRQ
lukego Nov 7, 2016
ffe4a22
connectx4: Add 'mtu' paramter (default 9500)
lukego Nov 8, 2016
06c43f0
connectx4: Cleaner (simplistic) selftest method
lukego Nov 8, 2016
e367b6b
connectx4: Fix recv completion queue wrap-around
lukego Nov 22, 2016
c5a493e
Merge tag 'v2018.01.1' into mellanox-connectx5
alexandergall Jul 10, 2018
48f6080
Cherry-picked apps.melanox from lukego/debug100g
alexandergall Jul 10, 2018
4474000
Uncommited changes from lukego
alexandergall Jul 10, 2018
580cf9b
connectx4.lua: minor changes
alexandergall Jul 10, 2018
10ceea4
connectx4.lua: fix alignment of HCA command queue
alexandergall Jul 11, 2018
1b9cf2b
connectx4.lua: fix RSS
alexandergall Jul 12, 2018
8332671
Register ConnectX5 device in lib.hardware.pci
alexandergall Jul 13, 2018
263919a
connectx4.lua: identify driver for device_info
alexandergall Jul 13, 2018
d57c67a
connectx4.lua: add statistics counters
alexandergall Jul 18, 2018
22af847
connectx4.lua: use async commands to read stats counters
alexandergall Jul 20, 2018
a949245
connectx4.lua: use a factory to create HCAs
alexandergall Jul 20, 2018
b4d9252
connectx4.lua: fix bug with async commands when debug_hexdump is enabled
alexandergall Jul 23, 2018
e2eecff
connectx4.lua: fix page sizes in CREATE_{C,R}Q
alexandergall Jul 23, 2018
77e548c
Squashed 'lib/ljsyscall/' changes from d78235c50..e587f8c55
eugeneia Nov 4, 2019
1117ee4
Pull latest ljsyscall (e587f8c on May 15, 2018)
eugeneia Nov 4, 2019
09b29d9
ljsyscall: add some XDP constants
eugeneia Nov 6, 2019
3f82010
ljsyscall: fix a bug in getsockopt when querying for structs
eugeneia Nov 8, 2019
1e176cb
ljsyscall: lookup strflags in linux bpf(2) wrappers
eugeneia Nov 8, 2019
573a29b
ljsyscall: add BPF_MAP type XSKMAP
eugeneia Nov 8, 2019
b315d13
Merge remote-tracking branch 'snabbco/master' into xdp-app2
eugeneia Nov 14, 2019
63f0cfe
apps.test.synth: add packets option
eugeneia Aug 14, 2017
f535525
apps.test.synth: emit all given packets
eugeneia Mar 8, 2019
6174563
core.packet: expose constants for packet alignment and headroom
eugeneia Nov 14, 2019
984d4a4
apps.xdp: driver for AF_XDP sockets
eugeneia Nov 13, 2019
e056fa1
Remove src/xdp.snabb (accidentally checked in xdp proof of concept)
eugeneia Nov 15, 2019
ee4e42d
core.packet: expose free_internal
eugeneia Nov 18, 2019
b677292
apps.xdp: fix free stats accounting, cleanup fill/completion mngmnt
eugeneia Nov 18, 2019
1b3593f
apps.xdp: add duplex test case, fix random_v4_packets
eugeneia Nov 18, 2019
22d754c
apps.xdp: cleanup bpf_ld_imm64/LD_MAP_FD construction
eugeneia Nov 18, 2019
4e31856
apps.xdp: generate more descriptive errors on bind(2) failure
eugeneia Nov 18, 2019
e53f314
apps.xdp: fixup comment about engine breath stimulation
eugeneia Nov 18, 2019
d225e75
apps.xdp: make num_chunks configurable in snabb_enable_xdp(opt)
eugeneia Nov 20, 2019
d44fb1d
apps.xdp: do not leak packets in XDP:stop()
eugeneia Nov 20, 2019
f8cb80c
apps.xdp: munmap(2) rings in XDP:stop() (do not leak rings mappings)
eugeneia Nov 20, 2019
e06c82f
apps.intel_avf: use new PCI acccess API (fix integration breakage)
eugeneia Nov 20, 2019
7722f0d
apps.intel_avf: free resources on shutdown (fix leak)
eugeneia Nov 20, 2019
6c330ec
lj_syscall: add BPF_OBJ_* syscall wrappers, extend bpf_attr union
eugeneia Nov 21, 2019
ea955a8
apps.xdp: allow sharing interfaces between Snabb processes
eugeneia Nov 21, 2019
01f11e9
pflua: do not cdef struct bpf_ins (collides with ljsyscall)
eugeneia Nov 25, 2019
ae35674
core.app: add clearvmprofiles() function
eugeneia Dec 3, 2019
1124b80
lib.timers.ingress_drop_monitor: clear vmprofiles on flush
eugeneia Dec 3, 2019
8f2a216
lib.timers.ingress_drop_monitor: reset last_value on drop-free period
eugeneia Dec 3, 2019
63968f6
raptorjit: clear all hotcounts every second
eugeneia Oct 8, 2019
cf55c9a
Merge pull request #1236 from eugeneia/stable-perf
wingo Dec 4, 2019
9a787b5
Fix snabb top interface view for multiple queues
wingo Dec 4, 2019
7f569e2
Merge pull request #1237 from Igalia/top-queues
wingo Dec 4, 2019
7a0c6c8
Disable vmprofile on lwAFTR by default
wingo Dec 4, 2019
fea333d
Merge pull request #1238 from Igalia/disable-vmprofile
wingo Dec 4, 2019
dfadac8
raptorjit: amend prev. commit, also clear trace exit hotcounts
eugeneia Dec 4, 2019
49d5e76
Merge pull request #1239 from eugeneia/stable-perf
wingo Dec 4, 2019
648c67a
Add 2019.06.02 changelog entry
wingo Dec 4, 2019
6524dec
fix typo
wingo Dec 4, 2019
19a2907
Merge pull request #1240 from Igalia/changelog-2019.06.02
wingo Dec 4, 2019
b7c50cb
raptorjit: amend prev. commit, do not clear SNAPCOUNT_DONE
eugeneia Dec 4, 2019
096d978
Merge pull request #1241 from eugeneia/stable-perf
wingo Dec 5, 2019
828fa4f
lwAFTR version 2019.06.02
wingo Dec 5, 2019
bd84224
apps.xdp: expose driver reference
eugeneia Dec 11, 2019
1a9eba5
lib.scheduling: add enable_xdp option
eugeneia Dec 11, 2019
18cc365
apps.xdp: kick tx queue if not empty
eugeneia Dec 11, 2019
19072b4
lib.yang.data: reorder translated members before printing
eugeneia Dec 11, 2019
ae4f734
snabb config: use consistency checker in command parsing
eugeneia Dec 12, 2019
05b495e
lib.yang.path_data: expand choices in consistency checker
eugeneia Dec 12, 2019
e96ae1a
lib.yang.data: rework 19072b494 (remove order parameter) add tests
eugeneia Dec 12, 2019
95d3a74
lib.yang: remove leftover debug print
eugeneia Jan 30, 2020
3fdf926
pflua: fix typo bug in native codegen (xor/or emission)
eugeneia Jan 30, 2020
07acce2
pflua: make regalloc architecture independent
eugeneia Jan 30, 2020
cd4d773
apps.xdp.bpf: add basic disassembler, endiannes opcodes
eugeneia Jan 30, 2020
48ff71c
apps.xdp.pf_ebpf_codegen: add eBPF backend for pflua
eugeneia Jan 30, 2020
c158ac8
apps.xdp: add filter option (offload non-matching packets to kernel)
eugeneia Jan 30, 2020
6b5851a
lib.numa: gracefully handle failure to read CPU performance governor
eugeneia Feb 28, 2020
16c99ed
lib.ptree: cleanup obsolete aggregated stats
eugeneia Mar 5, 2020
76c0c80
apps.vhost: suppress -Wstringop-truncation
alexandergall Mar 5, 2020
56884a7
apps.mellanox.connectx4: add MT28800 as supported device
alexandergall Mar 30, 2020
a0e8585
apps.mellanox.connectx4: add per-queue drop counters for ConnectX5
alexandergall Mar 30, 2020
0068df6
arch/checksum: fix bug in carry propagation
eugeneia Apr 17, 2020
cae6526
Merge tag 'v2018.06' into mellanox
alexandergall Oct 27, 2020
fc37be4
apps.mellanox.connectx4: unbind device in IO:new()
alexandergall Apr 15, 2020
adc7d3d
apps.mellanox.connectx4: fix mcast counters
alexandergall May 1, 2020
2219748
Fix transitions in CXQ state machine
alexandergall Apr 14, 2020
6cdcb40
apps.mellanox: free CXQ during process shutdown
alexandergall Oct 27, 2020
c579524
apps.mellanox: use correct WQE stride in RX queues
alexandergall Nov 6, 2020
42c2196
mellanox: Rename ConnectX4 -> ConnectX (because it works with 5+ too)
lukego Jan 31, 2019
556e427
mellanox: complete renaming ConnectX4 -> ConnectX
alexandergall Nov 6, 2020
a348899
lib.ctable: fix hugepages allocation size
alexandergall Feb 23, 2021
58a8cd0
Merge remote-tracking branch 'snabbco/master' into lwaftr-dev-2021-Q3
eugeneia Jul 8, 2021
816f031
Merge remote-tracking branch 'eugeneia/xdp-app2' into lwaftr-dev-2021-Q3
eugeneia Jul 8, 2021
3461a09
apps.xdp: only run rxtx_match selftest if SNABB_XDP_NQUEUES=1
eugeneia Jul 12, 2021
00cac36
apps.xdp: debug stop()
eugeneia Jul 12, 2021
8d4ee13
apps.xdp: mark stop() NYI / not supported
eugeneia Jul 12, 2021
2bcc644
lwaftr --xdp sketch
eugeneia Jul 13, 2021
dca3004
snabb-softwire-v2: add default for leaf
eugeneia Jul 13, 2021
87128d9
Merge remote-tracking branch 'snabbco/master' into mellanox-lwaftr
eugeneia Jul 14, 2021
8726bce
Merge remote-tracking branch 'eugeneia/avf-stop-reclaim' into lwaftr-…
eugeneia Jul 14, 2021
1544c8c
Merge remote-tracking branch 'eugeneia/mellanox-lwaftr' into lwaftr-d…
eugeneia Jul 14, 2021
8c2000b
apps/ipv4,6/reassemble,fragment: handle padded packets
eugeneia Jul 21, 2021
561b52a
lwaftr/setup: fix interfaces for bump-in-the-wire
eugeneia Jul 21, 2021
1cdc635
snabb-softwire-v2.yang: documentation edits
eugeneia Jul 21, 2021
4bba0ce
Merge branch 'lwaftr-dev-2021-Q3' of github.com:eugeneia/snabb into l…
eugeneia Jul 21, 2021
6bcce09
lib.numa: gracefully handle failure to read CPU performance governor
eugeneia Feb 28, 2020
191581a
apps.lwaftr.ndp: send NS via solicited node multicast
eugeneia Jul 26, 2021
4817ae8
lwaftr: support vlans in XDP mode
eugeneia Jul 27, 2021
004587b
lwaftr: automate linux interface setup for XDP
eugeneia Jul 29, 2021
bce8579
snabb-softwire-v2: allow more than two queues
eugeneia Aug 24, 2021
a86c61e
connectex.lua: extend RSS hashing to non-TCP/UDP IP packets
alexandergall Aug 30, 2021
909dca7
lib.protocol.ethernet: add ptoi used by connectx driver
eugeneia Aug 24, 2021
6bca98b
apps.mellanox.connectx: fixup lib.hardware.pci usage
eugeneia Aug 24, 2021
832ea9d
apps.mellanox.connectx_test: traceprof is now part of RaptorJIT
eugeneia Aug 24, 2021
d58ce74
apps.mellanox.connectx_test: get PCI addresses from environment
eugeneia Aug 24, 2021
6036de6
lib.protocol.etherenet: do endian conversion in ptoi
eugeneia Aug 25, 2021
bf84158
apps.connectx: selftest fixups
eugeneia Aug 25, 2021
fc7dfd2
apps.mellanox.connectx: support RSS + MAC/VLAN
eugeneia Aug 25, 2021
55ea547
Revert "apps.mellanox.connectx: support RSS + MAC/VLAN"
eugeneia Aug 25, 2021
680355e
apps.mellanox.connext: fix data segment address translation in sq:tra…
eugeneia Aug 27, 2021
740b63c
Revert "Revert "apps.mellanox.connectx: support RSS + MAC/VLAN""
eugeneia Aug 27, 2021
22d2619
apps.mellanox.connectx_test: test MACVLAN+RSS
eugeneia Aug 27, 2021
4b0487d
apps.mellanox.connectx: invert MAC/VLAN hierarchy in macvlan_rqlist
eugeneia Aug 27, 2021
704126c
apps.mellanox.connectx: switch multicast packets when using MAC+VLAN
eugeneia Aug 30, 2021
95c4483
Merge a86c61e1 (connectex.lua: extend RSS hashing to non-TCP/UDP IP p…
eugeneia Aug 30, 2021
6d18bea
apps.mellanox.connectx_test: exercise L3-only RSS
eugeneia Aug 30, 2021
5bdef8d
Merge branch 'mellanox-lwaftr' into lwaftr-dev-2021-Q3
eugeneia Aug 30, 2021
5f10b3b
connectx.lua: convert tabs to spaces
alexandergall Aug 30, 2021
b334719
Merge branch 'mellanox' into mellanox-lwaftr
eugeneia Aug 30, 2021
4a80091
Merge branch 'mellanox-lwaftr' into lwaftr-dev-2021-Q3
eugeneia Aug 30, 2021
d4a1083
lwaftr: keep full config in worker setup
eugeneia Sep 2, 2021
907fb77
lwaftr: add mellanox.connectx driver support
eugeneia Sep 2, 2021
d1a15c4
Merge branch 'lwaftr-dev-2021-Q3' into lwaftr-dev-2021-Q3-avf
eugeneia Sep 6, 2021
4c84dd0
apps.intel_avf: add multiqueue/rss support
eugeneia Sep 6, 2021
33ca18c
Merge branch 'lwaftr-dev-2021-Q3' into lwaftr-dev-2021-Q3-avf
eugeneia Sep 8, 2021
8c151ea
lwaftr: add support for intel_avf driver
eugeneia Sep 8, 2021
e3dd48f
apps.intel_avf: add VLAN filter/stripping/insertion support
eugeneia Sep 8, 2021
dbc4f34
lwaftr/lwutil/setup: refactor, add num_queues, is_lowest_queue
eugeneia Sep 10, 2021
448d626
lib.hardware.pci: add Intel X710 device info
eugeneia Sep 10, 2021
d54e29d
lwaftr: support auto-config of AVF-compatble NICs
eugeneia Sep 10, 2021
80557cf
intel_avf: move bits() constructor out of fast-path
eugeneia Sep 16, 2021
be7dc08
program.lwaftr.setup: remove bogus stale require
eugeneia Sep 20, 2021
263c4e2
lwaftr.setup: fix error reporting in cmd util
eugeneia Sep 20, 2021
6df64ca
core.lib: fix error detection in writefile
eugeneia Sep 20, 2021
720235f
lwaftr.setup: print more useful error message...
eugeneia Sep 20, 2021
fa553a6
apps.intel_avf: move device stats to pci/<addr>
eugeneia Sep 22, 2021
85428ea
snabb top: handle devices that do not specify speed
eugeneia Sep 22, 2021
89c48fc
lib.ptree: start manager before setting initial configuration
eugeneia Oct 1, 2021
4379d1c
snabb-softwire-v2.yang: fix descriptions of device leaves
eugeneia Oct 1, 2021
98e97b4
Revert "snabb-softwire-v2.yang: fix descriptions of device leaves"
eugeneia Oct 1, 2021
75a3373
Revert "lwaftr: keep full config in worker setup"
eugeneia Oct 1, 2021
bff9d0f
lib.numa: gracefully handle unset PATH in assert_irqbalanced_disabled
eugeneia Oct 4, 2021
b97ccc2
Revert "snabb-softwire-v2: allow more than two queues"
eugeneia Oct 4, 2021
21013be
Revert "snabb-softwire-v2.yang: documentation edits"
eugeneia Oct 4, 2021
f903e0f
Revert "snabb-softwire-v2: add default for leaf"
eugeneia Oct 4, 2021
0288de4
lib.yang.data: parse defaults of nested leaves
eugeneia Oct 4, 2021
eea42d2
lib.numa: do not migrate pages from preferred node
eugeneia Oct 4, 2021
b1e9ba0
Merge branch 'lwaftr-dev-2021-Q3-avf' into lwaftr-dev-2021-Q3-origina…
eugeneia Oct 4, 2021
1588452
lib.protocol.ethernet: fix truncation bug in ptoi
eugeneia Oct 19, 2021
a6734ae
lwaftr: qualify shared_next_mac_key with vlan
eugeneia Oct 20, 2021
c1c4854
core.packet: fix account_free physical capacity formula
eugeneia Oct 20, 2021
8c44e61
apps.intel_avf: fix IRQ setup for additional queues
eugeneia Nov 5, 2021
1351846
Merge branch 'lwaftr-dev-2021-Q3-avf' into lwaftr-dev-2021-Q3-origina…
eugeneia Nov 5, 2021
18fc9f5
lwaftr: fix bugs introduced in 75a3373e
eugeneia Nov 8, 2021
3c669a9
lwaftr: create snabb-softwire-v3
eugeneia Nov 8, 2021
faeb6ff
snabb-softwire-v3: fix mistakes in leaf descr.
eugeneia Nov 8, 2021
2dddff6
snabb-softwire-v3: Add default value for error-rate-limiting/packets
eugeneia Nov 8, 2021
eff1a9a
snabb-softwire-v3: allow more than two queues
eugeneia Nov 8, 2021
1f8ee81
snabb-softwire-v3: external-interface/device -> external-device
eugeneia Nov 8, 2021
d75f079
lwaftr: use snabb-softwire-v3 schema
eugeneia Nov 8, 2021
e06c198
apps.ipv4.arp: add request/reply counters
eugeneia Nov 8, 2021
e3b400a
apps.lwaftr.ndp: add NS/NA counters
eugeneia Nov 8, 2021
6f5e905
apps.ipv{4,6}.echo: add echo I/O counters
eugeneia Nov 8, 2021
bd914c1
lwaftr/snabb-softwire-v3: state additions and fixes
eugeneia Nov 8, 2021
37cfb36
apps.intel_avf: add option to add additional macs
eugeneia Nov 9, 2021
2bfba71
apps.intel_avf: update README.md
eugeneia Nov 9, 2021
b112c94
lwaftr: configure internal-interface multicast MAC address for intel_avf
eugeneia Nov 9, 2021
eb38e91
Merge branch 'lwaftr-dev-2021-Q3-avf' into lwaftr-dev-2021-Q4-softwir…
eugeneia Nov 9, 2021
d3a30c6
lib.protocol.ethernet: remove ptoi
eugeneia Nov 12, 2021
42f1470
Merge remote-tracking branch 'eugeneia/mellanox-2021' into lwaftr-dev…
eugeneia Nov 12, 2021
480a07a
Merge branch 'lwaftr-dev-2021-Q3-mellanox' into lwaftr-dev-2021-Q4-so…
eugeneia Nov 12, 2021
ee37d77
apps.intel_avf: add multiqueue/rss support
eugeneia Sep 6, 2021
451aeec
apps.intel_avf: add VLAN filter/stripping/insertion support
eugeneia Sep 8, 2021
ce533cf
lib.hardware.pci: add Intel X710 device info
eugeneia Sep 10, 2021
3a39748
intel_avf: move bits() constructor out of fast-path
eugeneia Sep 16, 2021
b2ac1c3
apps.intel_avf: move device stats to pci/<addr>
eugeneia Sep 22, 2021
7566bcf
snabb top: handle devices that do not specify speed
eugeneia Sep 22, 2021
dae1061
apps.intel_avf: fix IRQ setup for additional queues
eugeneia Nov 5, 2021
5ccf479
apps.intel_avf: add option to add additional macs
eugeneia Nov 9, 2021
d22af4f
apps.intel_avf: update README.md
eugeneia Nov 9, 2021
d6a2bdf
Merge PR #1451 (intel_avf: fix integration breakage and free resource…
eugeneia Nov 18, 2021
1360e0b
Merge PR #1452 (Various YANG fixes related to choice statements and t…
eugeneia Nov 18, 2021
a7684e3
Merge PR #1455 (lib.numa: gracefully handle failure to read CPU perfo…
eugeneia Nov 18, 2021
1a070d7
Merge PR #1456 (lib.ptree: cleanup obsolete aggregated stats) into ma…
eugeneia Nov 18, 2021
2b3b487
Merge PR #1457 (arch/checksum: fix bug in carry propagation) into max…
eugeneia Nov 18, 2021
ac7636c
Merge PR #1459 (lib.ctable: fix hugepages allocation size) into max-next
eugeneia Nov 18, 2021
6b9e2f9
Merge PR #1460 (core.packet: fix account_free physical capacity formu…
eugeneia Nov 18, 2021
dc40426
apps.test.synth: add packets option
eugeneia Aug 14, 2017
355051b
intel_avf: truncate CRC from received packets
eugeneia Nov 30, 2021
d3fd3e7
intel_avf: more robust HENA configuration
eugeneia Nov 30, 2021
991acd9
intel_avf: fix tests, separate RSS tests, add VLAN, multicast tests
eugeneia Nov 30, 2021
6845091
intel_avf: add explicit VLAN test case
eugeneia Dec 1, 2021
4313507
Merge branch 'avf-2021-tests' into lwaftr-dev-2021-Q3-avf
eugeneia Dec 1, 2021
9c83c25
intel_avf: fix rx/tx packet lengths
eugeneia Dec 2, 2021
7fa993e
Merge branch 'avf-2021-tests' into lwaftr-dev-2021-Q3-avf-tests
eugeneia Dec 2, 2021
419d201
Merge branch 'lwaftr-dev-2021-Q3-avf' into lwaftr-dev-2021-Q4-softwir…
eugeneia Dec 2, 2021
85c3b88
Merge PR #1462 (Updated Intel AVF driver with VLAN+RSS support) into …
eugeneia Dec 2, 2021
c1220be
apps.mellanox: add ConnectX 6 type
eugeneia Dec 3, 2021
5b68b01
apps.mellanox.connectx_test: add multicast and checks
eugeneia Dec 3, 2021
cc59d64
apps.mellanox.connectx: implement stop()
eugeneia Dec 6, 2021
ad4c941
apps.mellanox.connectx_test: exercise stop()...
eugeneia Dec 6, 2021
d36174e
apps.mellanox.connectx_test: add match test
eugeneia Dec 6, 2021
bf1322e
apps.mellanox: add README
eugeneia Dec 6, 2021
a0117e8
Merge branch 'mellanox-2021' into lwaftr-dev-2021-Q4-softwire-v3
eugeneia Dec 8, 2021
22f950c
lib.hardware.pci: add mellanox MT2892 Family [ConnectX-6 Dx] model
eugeneia Dec 10, 2021
91d9ee0
Merge branch 'mellanox-2021' into lwaftr-dev-2021-Q4-softwire-v3
eugeneia Dec 10, 2021
ffb0ba9
apps.xdp: only run rxtx_match selftest if SNABB_XDP_NQUEUES=1
eugeneia Jul 12, 2021
1a5f7c4
apps.xdp: mark stop() NYI / not supported
eugeneia Jul 12, 2021
928c456
Merge PR #1450 (driver for Linux AF_XDP sockets)
eugeneia Jan 13, 2022
f6db445
Merge PR #1454 (Add filter option to XDP app) into max-next
eugeneia Jan 13, 2022
bcf7d3c
Merge PR #1461 (Driver for Mellanox Connect-X 4/5/6) into max-next
eugeneia Jan 13, 2022
660e4c8
Merge PR #1464 (Tracing JIT stability improvements) into max-next
eugeneia Jan 13, 2022
64b7c8d
Merge remote-tracking branch 'snabbco/max-next' into lwaftr-rc-2022.01
eugeneia Jan 13, 2022
7b0d35b
lwAFTR 2022.01.13
eugeneia Jan 13, 2022
1531f37
apps.ipv4.arp: fix selftest
eugeneia Jan 13, 2022
3f3c40c
lwaftr: update end-to-end test data
eugeneia Jan 13, 2022
90b07e3
Merge pull request #1243 from eugeneia/lwaftr-rc-2022.01
eugeneia Jan 13, 2022
2d7341e
Merge PR #1465 (upstream lwAFTR 2022.01.13) into max-next
eugeneia Jan 13, 2022
247ef95
core.packet: revert globalization of newly exported variables and fun…
eugeneia Jan 18, 2022
5f045e7
core.app: setvmprofile unconditionally
eugeneia Jan 18, 2022
52048a9
Fixup previous commit: remove unused profile option in lib.ptree.worker
eugeneia Jan 19, 2022
862af2c
Fix regression in config-migrations
eugeneia Jan 19, 2022
992a845
lwaftr migrate-configuration: support snabb-softwire-v2, fix bugs
eugeneia Jan 19, 2022
6bd9e7a
snabbnfv: do not load ingress_drop_monitor
eugeneia Jan 19, 2022
eafba5a
Merge remote-tracking branch 'origin/lwaftr-rc-2022.01.19' into octar…
eugeneia Jan 19, 2022
14fa389
Merge pull request #1466 from eugeneia/octarina-regressions
eugeneia Jan 21, 2022
d270298
Merge branch 'max-next' into next
eugeneia Jan 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
12 changes: 12 additions & 0 deletions lib/ljsyscall/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
.*
*.md
COPYRIGHT
ChangeLog
Dockerfile
INSTALL
doc
*.yml
examples
include
rockspec
test
9 changes: 9 additions & 0 deletions lib/ljsyscall/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,12 @@ tmp/*
*.core
ktrace.out
obj/*

/5.1-ljsyscall
/debian/debhelper-build-stamp
/debian/files
/debian/lua-ljsyscall*
/debian/lua_versions
/debian/tmp
/debian/trash

14 changes: 9 additions & 5 deletions lib/ljsyscall/.travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
language: c
sudo: required
dist: trusty

addons:
apt:
packages:
- luajit
- luarocks
- strace

before_install:
- sudo add-apt-repository ppa:mwild1/ppa -y
- sudo apt-get update -y
- sudo apt-get install luajit -y --force-yes
- sudo apt-get install luarocks -y
- sudo apt-get install strace -y
- git submodule update --init --recursive

env:
Expand Down
2 changes: 1 addition & 1 deletion lib/ljsyscall/COPYRIGHT
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Files under the include directory include their own copyright information.

ljsyscall: System call interface for LuaJIT

Copyright (C) 2011-2014 Justin Cormack. All rights reserved.
Copyright (C) 2011-2016 Justin Cormack. All rights reserved.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
13 changes: 11 additions & 2 deletions lib/ljsyscall/ChangeLog
Original file line number Diff line number Diff line change
@@ -1,10 +1,19 @@
unreleased
0.12 release

+ Fix seccomp on arm64
+ Linux added support for eBPF
+ bug fixes

0.11 release

+ OSX time functions
+ OSX Mach types
+ OSX fixes for Yosemite
+ arm64 support
+ OpenBSD 5.6 and 5.7 support
+ OpenBSD 5.6, 5.7 and 5.8 support
+ ppc64le support, by Gustavo Serra Scalet
+ mipsel support
+ added Dockerfile, now available on Docker Hub

0.10 release

Expand Down
4 changes: 4 additions & 0 deletions lib/ljsyscall/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
FROM alpine:3.4
RUN apk update && apk add luajit luajit-dev strace && mkdir -p /usr/share/lua/5.1
COPY . /usr/share/lua/5.1/
ENTRYPOINT ["luajit"]
5 changes: 4 additions & 1 deletion lib/ljsyscall/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ The [video of my FOSDEM 2013 talk](http://www.myriabit.com/ljsyscall/) here, and

## Install

A Docker hub automated build (currently only for Linux) is available via `docker pull justincormack/ljsyscall`. You can run the test suite with `docker run justincormack/ljsyscall test/test.lua`, use in a scripted way eg `docker run justincormack/ljsyscall -e "print(require('syscall').nl.interfaces())"` or get an interactive session with `docker -it run justincormack/ljsyscall`.

The stable release is now available in the luarocks repository, so you should be able to run ```luarocks install ljsyscall```. There will be a ```ljsyscall-rump``` rock soon, but I need to fix the install for the rump libraries.

For simple uses, you just need to put the ```.lua``` files somewhere that LuaJIT will find them, eg typically in ```/usr/local/share/lua/5.1/```. Keep the directory structure there is. You can safely remove files from architectures and operating systems you do not use.

You can also install the head version using luarocks: ```luarocks install rockspec/ljsyscall-scm-1.rockspec``` .

It is also available as a package in [buildroot](http://buildroot.uclibc.org/), a build system for embedded systems, and in [pkgsrc](http://www.pkgsrc.org] the portable packaging system for many systems.
It is also available as a package in [buildroot](http://buildroot.uclibc.org/), a build system for embedded systems, and in [pkgsrc](http://www.pkgsrc.org] the portable packaging system for many systems. It is now packaged for [Alpine Linux](http://www.alpinelinux.org/), in the testing repository.

If you are using Lua rather than LuaJIT you need to install [luaffi](https://github.com/jmckaskill/luaffi) first; this is largely working now, but there will be more support for standard Lua coming soon.

Expand Down Expand Up @@ -66,6 +68,7 @@ This project is being used in a variety of places, such as for testing the Linux
* [buildroot](http://buildroot.uclibc.org/) has an ljsyscall package.
* [luatz](https://github.com/daurnimator/luatz) uses ljsyscall when available
* [Snabb switch](https://github.com/SnabbCo/snabbswitch) a high performance networking toolkit.
* [Spook](https://github.com/johnae/spook) started out as an fs events based test runner similar to Rubys guard but grew into an event toolkit of sorts.

## Testing

Expand Down
5 changes: 5 additions & 0 deletions lib/ljsyscall/debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
lua-ljsyscall (0.12-1) unstable; urgency=medium

* UNRELEASED

-- John Doe <j.doe@gmail.com> Sun, 23 Jul 2017 19:43:15 +0200
1 change: 1 addition & 0 deletions lib/ljsyscall/debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
25 changes: 25 additions & 0 deletions lib/ljsyscall/debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Source: lua-ljsyscall
Section: interpreters
Priority: optional
Maintainer: nobody
Build-Depends: debhelper (>= 9), dh-lua
Standards-Version: 4.0.0
Homepage: http://www.myriabit.com/ljsyscall/

Package: lua-ljsyscall
Architecture: all
Pre-Depends: ${misc:Pre-Depends}
Depends: luajit, ${misc:Depends}
Provides: ${lua:Provides}
XB-Lua-Versions: ${lua:Versions}
Description: LuaJIT Linux syscall FFI

Package: lua-ljsyscall-dev
Section: libdevel
Architecture: all
Pre-Depends: ${misc:Pre-Depends}
Depends: ${misc:Depends}
Provides: ${lua:Provides}
XB-Lua-Versions: ${lua:Versions}
Description: ljsyscall doc
This package contains the documentation of the ljsyscall library.
30 changes: 30 additions & 0 deletions lib/ljsyscall/debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ljsyscall
Source: https://github.com/justincormack/ljsyscall

Files: *
Copyright: Copyright (C) 2011-2016 Justin Cormack. All rights reserved.
License: Expat

Files: */doc
Copyright: Copyright (C) 2011-2016 Justin Cormack. All rights reserved.
License: CC0

License: Expat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
.
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
24 changes: 24 additions & 0 deletions lib/ljsyscall/debian/dh-lua.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
### mandatory fields
LUA_VERSION=5.1
PKG_NAME=ljsyscall

### things relative to the C library part
CLIB_CFLAGS=
CLIB_LDFLAGS=
CLIB_LDFLAGS_STATIC=
CLIB_OBJS=
LUA_MODNAME_CPART=

### things relative to the lua library part
LUA_HEADER=
LUA_SOURCES=syscall.lua syscall/*.lua syscall/shared/*.lua syscall/linux/*.lua syscall/linux/*/*.lua
LUA_SOURCES_MANGLER=
LUA_MODNAME=syscall
LUA_TEST=

### this part is relative to pkg-config
PKG_VERSION=
PKG_LIBS_PRIVATE=
PKG_URL=
PKG_REQUIRES=
PKG_CONFLICTS=
2 changes: 2 additions & 0 deletions lib/ljsyscall/debian/lua-ljsyscall-dev.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
doc
test
Empty file.
4 changes: 4 additions & 0 deletions lib/ljsyscall/debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/usr/bin/make -f

%:
dh $@ --buildsystem=lua --with lua
1 change: 1 addition & 0 deletions lib/ljsyscall/debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
3 changes: 3 additions & 0 deletions lib/ljsyscall/debian/tests/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Tests: dh-lua-tests
Restrictions: rw-build-tree
Depends: @, dh-lua
1 change: 1 addition & 0 deletions lib/ljsyscall/debian/tests/dh-lua-tests
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
debian/rules autopkgtest
6 changes: 6 additions & 0 deletions lib/ljsyscall/debian/watch
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# test this watch file using:
# uscan --watchfile debian/watch --upstream-version 0.1 --package lua-ljsyscall
#
version=3
opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/ljsyscall-$1\.tar\.gz/ \
https://github.com/justincormack/ljsyscall/releases .*/v?(\d\S*)\.tar\.gz
5 changes: 5 additions & 0 deletions lib/ljsyscall/docker-compose.test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sut:
build: .
command: /test/test.lua
volumes:
- ./test:/test
170 changes: 170 additions & 0 deletions lib/ljsyscall/rockspec/ljsyscall-0.11-1.rockspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
package = "ljsyscall"
version = "0.11-1"
source =
{
url = "https://github.com/justincormack/ljsyscall/archive/v0.11.tar.gz";
dir = "ljsyscall-0.11";
}

description =
{
summary = "LuaJIT Linux syscall FFI";
homepage = "http://www.myriabit.com/ljsyscall/";
license = "MIT";
}
dependencies =
{
"lua == 5.1"; -- In fact this should be "luajit >= 2.0.0"
}
build =
{
type = "builtin";
modules =
{
["syscall"] = "syscall.lua";
["syscall.abi"] = "syscall/abi.lua";
["syscall.helpers"] = "syscall/helpers.lua";
["syscall.syscalls"] = "syscall/syscalls.lua";
["syscall.libc"] = "syscall/libc.lua";
["syscall.methods"] = "syscall/methods.lua";
["syscall.ffitypes"] = "syscall/ffitypes.lua";
["syscall.util"] = "syscall/util.lua";
["syscall.compat"] = "syscall/compat.lua";
["syscall.bit"] = "syscall/bit.lua";
["syscall.types"] = "syscall/types.lua";
["syscall.lfs"] = "syscall/lfs.lua";

["syscall.shared.types"] = "syscall/shared/types.lua";
};
platforms =
{
linux =
{
modules = {
["syscall.linux.syscalls"] = "syscall/linux/syscalls.lua";
["syscall.linux.c"] = "syscall/linux/c.lua";
["syscall.linux.constants"] = "syscall/linux/constants.lua";
["syscall.linux.ffi"] = "syscall/linux/ffi.lua";
["syscall.linux.ioctl"] = "syscall/linux/ioctl.lua";
["syscall.linux.types"] = "syscall/linux/types.lua";
["syscall.linux.fcntl"] = "syscall/linux/fcntl.lua";
["syscall.linux.errors"] = "syscall/linux/errors.lua";
["syscall.linux.util"] = "syscall/linux/util.lua";
["syscall.linux.nr"] = "syscall/linux/nr.lua";

["syscall.linux.nl"] = "syscall/linux/nl.lua";
["syscall.linux.netfilter"] = "syscall/linux/netfilter.lua";
["syscall.linux.sockopt"] = "syscall/linux/sockopt.lua";
["syscall.linux.cgroup"] = "syscall/linux/cgroup.lua";

["syscall.linux.arm.constants"] = "syscall/linux/arm/constants.lua";
["syscall.linux.arm.ffi"] = "syscall/linux/arm/ffi.lua";
["syscall.linux.arm.ioctl"] = "syscall/linux/arm/ioctl.lua";
["syscall.linux.arm.nr"] = "syscall/linux/arm/nr.lua";
["syscall.linux.arm64.constants"] = "syscall/linux/arm64/constants.lua";
["syscall.linux.arm64.ffi"] = "syscall/linux/arm64/ffi.lua";
["syscall.linux.arm64.ioctl"] = "syscall/linux/arm64/ioctl.lua";
["syscall.linux.arm64.nr"] = "syscall/linux/arm64/nr.lua";
["syscall.linux.mips.constants"] = "syscall/linux/mips/constants.lua";
["syscall.linux.mips.ffi"] = "syscall/linux/mips/ffi.lua";
["syscall.linux.mips.ioctl"] = "syscall/linux/mips/ioctl.lua";
["syscall.linux.mips.nr"] = "syscall/linux/mips/nr.lua";
["syscall.linux.ppc.constants"] = "syscall/linux/ppc/constants.lua";
["syscall.linux.ppc.ffi"] = "syscall/linux/ppc/ffi.lua";
["syscall.linux.ppc.ioctl"] = "syscall/linux/ppc/ioctl.lua";
["syscall.linux.ppc.nr"] = "syscall/linux/ppc/nr.lua";
["syscall.linux.ppc64le.constants"] = "syscall/linux/ppc64le/constants.lua";
["syscall.linux.ppc64le.ffi"] = "syscall/linux/ppc64le/ffi.lua";
["syscall.linux.ppc64le.ioctl"] = "syscall/linux/ppc64le/ioctl.lua";
["syscall.linux.ppc64le.nr"] = "syscall/linux/ppc64le/nr.lua";
["syscall.linux.x64.constants"] = "syscall/linux/x64/constants.lua";
["syscall.linux.x64.ffi"] = "syscall/linux/x64/ffi.lua";
["syscall.linux.x64.ioctl"] = "syscall/linux/x64/ioctl.lua";
["syscall.linux.x64.nr"] = "syscall/linux/x64/nr.lua";
["syscall.linux.x86.constants"] = "syscall/linux/x86/constants.lua";
["syscall.linux.x86.ffi"] = "syscall/linux/x86/ffi.lua";
["syscall.linux.x86.ioctl"] = "syscall/linux/x86/ioctl.lua";
["syscall.linux.x86.nr"] = "syscall/linux/x86/nr.lua";
}
};
macosx =
{
modules =
{
["syscall.osx.syscalls"] = "syscall/osx/syscalls.lua";
["syscall.osx.c"] = "syscall/osx/c.lua";
["syscall.osx.constants"] = "syscall/osx/constants.lua";
["syscall.osx.ffi"] = "syscall/osx/ffi.lua";
["syscall.osx.ioctl"] = "syscall/osx/ioctl.lua";
["syscall.osx.types"] = "syscall/osx/types.lua";
["syscall.osx.fcntl"] = "syscall/osx/fcntl.lua";
["syscall.osx.errors"] = "syscall/osx/errors.lua";
["syscall.osx.util"] = "syscall/osx/util.lua";
["syscall.osx.sysctl"] = "syscall/osx/sysctl.lua";
}
};
freebsd =
{
modules =
{
["syscall.freebsd.syscalls"] = "syscall/freebsd/syscalls.lua";
["syscall.freebsd.c"] = "syscall/freebsd/c.lua";
["syscall.freebsd.constants"] = "syscall/freebsd/constants.lua";
["syscall.freebsd.ffi"] = "syscall/freebsd/ffi.lua";
["syscall.freebsd.ioctl"] = "syscall/freebsd/ioctl.lua";
["syscall.freebsd.types"] = "syscall/freebsd/types.lua";
["syscall.freebsd.fcntl"] = "syscall/freebsd/fcntl.lua";
["syscall.freebsd.errors"] = "syscall/freebsd/errors.lua";
["syscall.freebsd.util"] = "syscall/freebsd/util.lua";
["syscall.freebsd.version"] = "syscall/freebsd/version.lua";
["syscall.freebsd.sysctl"] = "syscall/freebsd/sysctl.lua";
}
};
netbsd =
{
modules =
{
["syscall.netbsd.syscalls"] = "syscall/netbsd/syscalls.lua";
["syscall.netbsd.c"] = "syscall/netbsd/c.lua";
["syscall.netbsd.constants"] = "syscall/netbsd/constants.lua";
["syscall.netbsd.ffitypes"] = "syscall/netbsd/ffitypes.lua";
["syscall.netbsd.ffifunctions"] = "syscall/netbsd/ffifunctions.lua";
["syscall.netbsd.ioctl"] = "syscall/netbsd/ioctl.lua";
["syscall.netbsd.types"] = "syscall/netbsd/types.lua";
["syscall.netbsd.fcntl"] = "syscall/netbsd/fcntl.lua";
["syscall.netbsd.errors"] = "syscall/netbsd/errors.lua";
["syscall.netbsd.util"] = "syscall/netbsd/util.lua";
["syscall.netbsd.nr"] = "syscall/netbsd/nr.lua";
["syscall.netbsd.init"] = "syscall/netbsd/init.lua";
["syscall.netbsd.version"] = "syscall/netbsd/version.lua";
["syscall.netbsd.sysctl"] = "syscall/netbsd/sysctl.lua";
}
};
openbsd =
{
modules =
{
["syscall.openbsd.syscalls"] = "syscall/openbsd/syscalls.lua";
["syscall.openbsd.c"] = "syscall/openbsd/c.lua";
["syscall.openbsd.constants"] = "syscall/openbsd/constants.lua";
["syscall.openbsd.ffi"] = "syscall/openbsd/ffi.lua";
["syscall.openbsd.ioctl"] = "syscall/openbsd/ioctl.lua";
["syscall.openbsd.types"] = "syscall/openbsd/types.lua";
["syscall.openbsd.fcntl"] = "syscall/openbsd/fcntl.lua";
["syscall.openbsd.errors"] = "syscall/openbsd/errors.lua";
["syscall.openbsd.util"] = "syscall/openbsd/util.lua";
["syscall.openbsd.version"] = "syscall/openbsd/version.lua";
["syscall.openbsd.sysctl"] = "syscall/openbsd/sysctl.lua";
}
};
bsd =
{
modules =
{
["syscall.bsd.syscalls"] = "syscall/bsd/syscalls.lua";
["syscall.bsd.ffi"] = "syscall/bsd/ffi.lua";
["syscall.bsd.types"] = "syscall/bsd/types.lua";
}
};
}
}