Ilya Maximets <[email protected]> writes:
> On 1/25/24 21:55, Aaron Conole wrote:
>> All supported versions of Fedora do package libbpf, so it
>> makes sense to enable USDT support.
>>
>> Signed-off-by: Aaron Conole <[email protected]>
>> ---
>> v8: Include the correct devel package as a dependency
>>
>> rhel/openvswitch-fedora.spec.in | 8 ++++++++
>> 1 file changed, 8 insertions(+)
>>
>> diff --git a/rhel/openvswitch-fedora.spec.in
>> b/rhel/openvswitch-fedora.spec.in
>> index 5d24ebcda8..b97f509cae 100644
>> --- a/rhel/openvswitch-fedora.spec.in
>> +++ b/rhel/openvswitch-fedora.spec.in
>> @@ -28,6 +28,8 @@
>> %bcond_with dpdk
>> # To disable AF_XDP support, specify '--without afxdp' when building
>> %bcond_without afxdp
>> +# To control the USDT support
>> +%bcond_without usdt
>>
>> # If there is a need to automatically enable the package after installation,
>> # specify the "--with autoenable"
>> @@ -77,6 +79,9 @@ Provides: %{name}-dpdk = %{version}-%{release}
>> %if %{with afxdp}
>> BuildRequires: libxdp-devel libbpf-devel numactl-devel
>> %endif
>> +%if %{with afxdp}
>
> Did you mean usdt ?
Ugh... yes. I'll post the update. Thanks for catching it.
>> +BuildRequires: libbpf-devel systemtap-sdt-devel
>> +%endif
>> BuildRequires: unbound unbound-devel
>>
>> Requires: openssl hostname iproute module-init-tools unbound
>> @@ -173,6 +178,9 @@ This package provides IPsec tunneling support for OVS
>> tunnels.
>> --enable-afxdp \
>> %else
>> --disable-afxdp \
>> +%endif
>> +%if %{with usdt}
>> + --enable-usdt-probes \
>> %endif
>> --enable-ssl \
>> --disable-static \
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev