Re: [iovisor-dev] Automatic Loop Unrolling not working with #pragma unroll

2016-12-08 Thread Fulvio Risso via iovisor-dev
Dear Thomas, definitely a good reason for not unrolling the loop. Thanks, fulvio On 08/12/2016 15:12, Thomas Graf via iovisor-dev wrote: On 7 December 2016 at 22:06, Mauricio Vasquez via iovisor-dev wrote: BPF_TABLE("array", u32, struct rt_entry,

Re: [iovisor-dev] arm64: LLVM ERROR: Inline asm not supported

2016-12-08 Thread Ming Lei via iovisor-dev
Hi Alexei, Thank you for so quick response! On Fri, Dec 9, 2016 at 12:37 AM, Alexei Starovoitov wrote: > On Thu, Dec 8, 2016 at 8:20 AM, Ming Lei via iovisor-dev > wrote: >> Hi, >> >> Bcc can be installed on ubuntu 16.04/arm64

Re: [iovisor-dev] arm64: LLVM ERROR: Inline asm not supported

2016-12-08 Thread Alexei Starovoitov via iovisor-dev
On Thu, Dec 8, 2016 at 8:20 AM, Ming Lei via iovisor-dev wrote: > Hi, > > Bcc can be installed on ubuntu 16.04/arm64 successfully, but when > I try to trace, the folllowing failure[1] is triggered. > > So is bcc not ready for arm64? Or something is wrong? > > BTW,

Re: [iovisor-dev] Automatic Loop Unrolling not working with #pragma unroll

2016-12-08 Thread Thomas Graf via iovisor-dev
On 7 December 2016 at 22:06, Mauricio Vasquez via iovisor-dev wrote: > BPF_TABLE("array", u32, struct rt_entry, routing_table, ROUTING_TABLE_DIM); > > static int handle_rx(void *skb, struct metadata *md) { > u8 *cursor = 0; > struct ip_t *ip =