Re: [net-next V7 PATCH 11/16] xdp: rhashtable with allocator ID to pointer mapping

2018-03-30 Thread kbuild test robot
Hi Jesper, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on net-next/master] url: https://github.com/0day-ci/linux/commits/Jesper-Dangaard-Brouer/XDP-redirect-memory-return-API/20180330-203122 reproduce: # apt-get install sparse make ARCH=x86

[net-next V7 PATCH 11/16] xdp: rhashtable with allocator ID to pointer mapping

2018-03-29 Thread Jesper Dangaard Brouer
Use the IDA infrastructure for getting a cyclic increasing ID number, that is used for keeping track of each registered allocator per RX-queue xdp_rxq_info. Instead of using the IDR infrastructure, which uses a radix tree, use a dynamic rhashtable, for creating ID to pointer lookup table, because