From: Shahab Vahedi
This will add eBPF JIT support to the 32-bit ARCv2 processors. The
implementation is qualified by running the BPF tests on a Synopsys HSDK
board with "ARC HS38 v2.1c at 500 MHz" as the 4-core CPU.
Deployment and structure
The related codes are added t
On Tue, Feb 13, 2024 at 5:20 AM Shahab Vahedi wrote:
>
> From: Shahab Vahedi
>
> This will add eBPF JIT support to the 32-bit ARCv2 processors. The
> implementation is qualified by running the BPF tests on a Synopsys HSDK
> board with "ARC HS38 v2.1c at 500 MHz" as the 4-core CPU.
...
> Signed-of
+CC Bjorn
On 2/13/24 18:39, Alexei Starovoitov wrote:
> On Tue, Feb 13, 2024 at 5:20 AM Shahab Vahedi wrote:
>> From: Shahab Vahedi
>>
>> This will add eBPF JIT support to the 32-bit ARCv2 processors. The
>> implementation is qualified by running the BPF tests on a Synopsys HSDK
>> board with "A
On 2/14/24 03:39, Alexei Starovoitov wrote:
> On Tue, Feb 13, 2024 at 5:20 AM Shahab Vahedi wrote:
>
> Could you share performance numbers interpreter vs JITed ?
I see noticeable improvements on every selected test. To list a few:
---8<--
test_bpf: #0 TAX jited:0 86
Hello list,
I know this is not a small patch, but could someone skim over it?
If there's anything that I can do to make the review process easier,
please let me know.
I already intend to change the "commit message" in the following ways:
- Fix a typo: interpretor -> interpreter
- Mentioning the
Shahab,
Shahab Vahedi writes:
> From: Shahab Vahedi
>
> This will add eBPF JIT support to the 32-bit ARCv2 processors. The
> implementation is qualified by running the BPF tests on a Synopsys HSDK
> board with "ARC HS38 v2.1c at 500 MHz" as the 4-core CPU.
Cool!
I did quick review, mosty focu
Hi Björn,
Thank you very much for your inputs. Please find my remarks below.
Björn Töpel writes:
> Shahab Vahedi writes:
>
> What's the easiest way to test test this w/o ARC HW? Is there a qemu
> port avaiable?
Yes, there is a (downstream) port available on GitHub [1]. If one is
interested,
Shahab Vahedi writes:
> Hi Björn,
>
> Thank you very much for your inputs. Please find my remarks below.
>
> Björn Töpel writes:
>
>> Shahab Vahedi writes:
>>
>> What's the easiest way to test test this w/o ARC HW? Is there a qemu
>> port avaiable?
>
> Yes, there is a (downstream) port availab
Shahab Vahedi writes:
>
> Björn Töpel writes:
>>
>> Please try to avoid static inline in the C-files. The compiler usually
>> knows better.
>
> I will replace them with "static" then.
I have tried [1] this and the test execution time took a performance hit of
35%. Therefore, I have not included