|
|
Re: [STRAW MAN PATCH] sch_teql doesn't load-balance ppp(oatm) slaves |
From: David Woodhouse <dwmw2@xxxxxxxxxxxxx> Date: Sun, 25 Mar 2012 11:43:50 +0100 > It's a bad idea to have huge hidden queues (a whole wmem_default worth > of packets are in a hidden queue between ppp_generic and the ATM device, > ffs!) anyway, so perhaps if we just fix *that* within PPP, it should > work a bit better with TEQL? Yes, the ATM devices deep transmit queue is quite undesirable. But I actually don't see how the problem arises yet, I need more details. PPP itself will always stop the queue, and return NETDEV_TX_OK on a transmit attempt. It may wake the queue back up before returning if the downstream device (such as pppoatm) accepted the packet. But in either case NETDEV_TX_OK is returned and this is what the teql master transmit sees, and this takes the code path which advances the slave pointer to the next device. Therefore the next teql master transmit should try the next device in the slave list, not the PPP device used in the previous call. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel Discussion] [Ethernet Bridging] [Linux Wireless Networking] [Linux Bluetooth Networking] [Linux Networking Users] [VLAN] [Git] [IETF Annouce] [Linux Assembly] [Security] [Bugtraq] [Photo] [Singles Social Networking] [Yosemite Information] [MIPS Linux] [ARM Linux Kernel] [ARM Linux] [Linux Virtualization] [Linux Security] [Linux IDE] [Linux RAID] [Linux SCSI] [Free Dating]
![]() |
![]() |