]> git.baikalelectronics.ru Git - kernel.git/commit
net: Add generic ndo_select_queue functions
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 9 Jul 2018 16:19:54 +0000 (12:19 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Jul 2018 20:15:34 +0000 (13:15 -0700)
commitaeaf9eb3699e5acf186de02e724c12b7230f0a0c
tree56b8cb99e2356716f23895ccda1364c3911bf4c8
parenteef64f64be1b94dab38f99968f83a0c28a7730aa
net: Add generic ndo_select_queue functions

This patch adds a generic version of the ndo_select_queue functions for
either returning 0 or selecting a queue based on the processor ID. This is
generally meant to just reduce the number of functions we have to change
in the future when we have to deal with ndo_select_queue changes.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/lantiq_etop.c
drivers/net/ethernet/ti/netcp_core.c
drivers/staging/netlogic/xlr_net.c
include/linux/netdevice.h
net/core/dev.c
net/packet/af_packet.c