Re: [bpf-next PATCH] bpf: Add rx_queue_mapping to bpf_sock

2020-05-22 Thread kbuild test robot
Hi Amritha, Thank you for the patch! Yet something to improve: [auto build test ERROR on bpf-next/master] [also build test ERROR on bpf/master net/master net-next/master v5.7-rc6 next-20200521] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system. BTW

[bpf-next PATCH] bpf: Add rx_queue_mapping to bpf_sock

2020-05-21 Thread Amritha Nambiar
Add "rx_queue_mapping" to bpf_sock. This gives read access for the existing field (sk_rx_queue_mapping) of struct sock from bpf_sock. Semantics for the bpf_sock rx_queue_mapping access are similar to sk_rx_queue_get(), i.e the value NO_QUEUE_MAPPING is not allowed and -1 is returned in that case.