> On Apr 12, 2019, at 9:31 AM, Stanislav Fomichev <s...@fomichev.me> wrote:
>
> On 04/12, Song Liu wrote:
>>
>>
>>> On Apr 12, 2019, at 7:17 AM, Eelco Chaudron <echau...@redhat.com> wrote:
>>>
>>> The user API file xsk.h was not installed by install_headers, this
>>> change will fix this.
>>>
>>> Signed-off-by: Eelco Chaudron <echau...@redhat.com>
>>
>> Cc: Magnus Karlsson <magnus.karls...@intel.com>
>> Fixes: 1cad07884239 ("libbpf: add support for using AF_XDP sockets")
>> Acked-by: Song Liu <songliubrav...@fb.com>
> Isn't it already in? See commit 379e2014c95b7 ("libbpf: add xsk.h to
> install_headers target").
Good catch!
Thanks Stanislav!
Song
>>> ---
>>> tools/lib/bpf/Makefile | 1 +
>>> 1 file changed, 1 insertion(+)
>>>
>>> diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
>>> index 008344507700..9b0a0f53d640 100644
>>> --- a/tools/lib/bpf/Makefile
>>> +++ b/tools/lib/bpf/Makefile
>>> @@ -230,6 +230,7 @@ install_headers:
>>> $(call do_install,bpf.h,$(prefix)/include/bpf,644); \
>>> $(call do_install,libbpf.h,$(prefix)/include/bpf,644);
>>> $(call do_install,btf.h,$(prefix)/include/bpf,644);
>>> + $(call do_install,xsk.h,$(prefix)/include/bpf,644);
>>>
>>> install_pkgconfig: $(PC_FILE)
>>> $(call QUIET_INSTALL, $(PC_FILE)) \
>>> --
>>> 2.18.1
>>>
>>