Searched hist:"2 c4197a041dfbb5101aaa8be7b378ba69b91e765" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/net/ethernet/netronome/nfp/ |
H A D | nfp_app.c | diff 2c4197a041dfbb5101aaa8be7b378ba69b91e765 Thu Nov 02 03:31:32 CDT 2017 Jakub Kicinski <jakub.kicinski@netronome.com> nfp: reorganize the app table
The app table is an unordered array right now. We have to search apps by ID. It also makes it harder to fall back to core NIC if advanced functions are not compiled into the kernel (e.g. eBPF). Make the table keyed by app id.
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com> Reviewed-by: Simon Horman <simon.horman@netronome.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|