Add a new argument for ndo_select_queue() callback that passes a fallback handler. This gets invoked through netdev_pick_tx(); fallback handler is currently __netdev_pick_tx() as most drivers invoke this function within their customized implementation in case for skbs that don't need any special handling. This fallback handler can then be replaced on other call-sites with different queue selection methods (e.g. in packet sockets, pktgen etc). This also has the nice side-effect that __netdev_pick_tx() is then only invoked from netdev_pick_tx() and export of that function to modules can be undone. Suggested-by: David S. Miller <davem@davemloft.net> Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| Adapter.h | ||
| Bcmchar.c | ||
| Bcmnet.c | ||
| CmHost.c | ||
| CmHost.h | ||
| cntrl_SignalingInterface.h | ||
| DDRInit.c | ||
| DDRInit.h | ||
| Debug.h | ||
| HandleControlPacket.c | ||
| headers.h | ||
| hostmibs.c | ||
| HostMIBSInterface.h | ||
| InterfaceAdapter.h | ||
| InterfaceDld.c | ||
| InterfaceIdleMode.c | ||
| InterfaceIdleMode.h | ||
| InterfaceInit.c | ||
| InterfaceInit.h | ||
| InterfaceIsr.c | ||
| InterfaceIsr.h | ||
| InterfaceMacros.h | ||
| InterfaceMisc.c | ||
| InterfaceMisc.h | ||
| InterfaceRx.c | ||
| InterfaceRx.h | ||
| InterfaceTx.c | ||
| InterfaceTx.h | ||
| Ioctl.h | ||
| IPv6Protocol.c | ||
| IPv6ProtocolHdr.h | ||
| Kconfig | ||
| LeakyBucket.c | ||
| led_control.c | ||
| led_control.h | ||
| Macros.h | ||
| Makefile | ||
| Misc.c | ||
| nvm.c | ||
| nvm.h | ||
| PHSDefines.h | ||
| PHSModule.c | ||
| PHSModule.h | ||
| Protocol.h | ||
| Prototypes.h | ||
| Qos.c | ||
| Queue.h | ||
| sort.c | ||
| target_params.h | ||
| TODO | ||
| Transmit.c | ||
| Typedefs.h | ||
| vendorspecificextn.c | ||
| vendorspecificextn.h | ||