Re: [PATCH v5] lib/bpf: Rename bpf function names to avoid potential conflict with libpcap

2023-03-20 Thread Thomas Monjalon
16/03/2023 01:58, Konstantin Ananyev: > 14/03/2023 14:20, J.J. Martzki пишет: > > The library libpcap has their function 'bpf_validate' either so there would > > be a multiple definition issue when linking with librte_bpf.a and libpcap.a > > statically (Same as http://dpdk.org/patch/52631). So just

Re: [PATCH v5] lib/bpf: Rename bpf function names to avoid potential conflict with libpcap

2023-03-15 Thread Konstantin Ananyev
14/03/2023 14:20, J.J. Martzki пишет: The library libpcap has their function 'bpf_validate' either so there would be a multiple definition issue when linking with librte_bpf.a and libpcap.a statically (Same as http://dpdk.org/patch/52631). So just rename the function names to avoid such issue. S

[PATCH v5] lib/bpf: Rename bpf function names to avoid potential conflict with libpcap

2023-03-14 Thread J.J. Martzki
The library libpcap has their function 'bpf_validate' either so there would be a multiple definition issue when linking with librte_bpf.a and libpcap.a statically (Same as http://dpdk.org/patch/52631). So just rename the function names to avoid such issue. Signed-off-by: J.J. Martzki --- v5: * U