search for: load_word

Displaying 5 results from an estimated 5 matches for "load_word".

2017 Dec 03
2
5.0.1-rc2 has been tagged
...100644 > --- a/test/CodeGen/BPF/select_ri.ll > +++ b/test/CodeGen/BPF/select_ri.ll > @@ -25,3 +25,38 @@ entry: > } > > attributes #0 = { norecurse nounwind readonly } > + > +; test immediate out of 32-bit range > +; Source file: > + > +; unsigned long long > +; load_word(void *buf, unsigned long long off) > +; asm("llvm.bpf.load.word"); > +; > +; int > +; foo(void *buf) > +; { > +; unsigned long long sum = 0; > +; > +; sum += load_word(buf, 100); > +; sum += load_word(buf, 104); > +; > +; if (sum != 0x1ffffffffULL) &gt...
2017 Nov 30
9
5.0.1-rc2 has been tagged
Hi, I've tagged the 5.0.1-rc2 release, go ahead and start testing and report your results. -Tom
2018 Sep 25
2
bpf compilation using clang
...hash = rte_softrss_be((__u32 *)&v4_tuple, key, 3); } else if (proto == htons(ETH_P_IPV6)) { struct ipv6_l3_l4_tuple v6_tuple; for (j = 0; j < 4; j++) *((uint32_t *)&v6_tuple.src_addr + j) = load_word(skb, nhoff + offsetof(struct ipv6hdr, saddr) + j); for (j = 0; j < 4; j++) *((uint32_t *)&v6_tuple.dst_addr + j) = load_word(skb, nhoff + offsetof(struct ipv6hdr, daddr) + j); v6_tuple.sport = PORT(load_b...
2018 Sep 13
4
bpf compilation using clang
Hi all, I am trying to insert instructions into the bpf using the bpf syscall, the instructions were generated using the following command line: clang -I ~/Builds/bpf_rss/iproute2/include -Wall -target bpf -O2 -emit-llvm -c upstream/qemu/hw/net/rss_tap_bpf_program.c -o - | llc -march=bpf -filetype=obj -o tap_bpf_program.o and then were translated to bpf instructions using the BPFCparser tool
2006 May 15
11
can you explain this benchmark?
I want to load about 14000 words (a subset of /usr/share/dict/words) into a MySQL table in a migration: class CreateWords < ActiveRecord::Migration def self.up create_table :words, :force => true do |t| t.column :word, :string end say_with_time ''loading words...'' do words = File.join(RAILS_ROOT, ''db'',