[RFC V2 PATCH 18/25] net/netpolicy: set Tx queues according to policy

2016-08-04 Thread kan . liang
From: Kan Liang When the device tries to transmit a packet, netdev_pick_tx is called to find the available Tx queues. If the net policy is applied, it picks up the assigned Tx queue from net policy subsystem, and redirect the traffic to the assigned queue. Signed-off-by: Kan Liang --- include/

[RFC V2 PATCH 18/25] net/netpolicy: set Tx queues according to policy

2016-08-04 Thread kan . liang
From: Kan Liang When the device tries to transmit a packet, netdev_pick_tx is called to find the available Tx queues. If the net policy is applied, it picks up the assigned Tx queue from net policy subsystem, and redirect the traffic to the assigned queue. Signed-off-by: Kan Liang --- include/