]> Pileus Git - ~andy/linux/commit
net: cdc_ncm: refactoring for tx multiplexing
authorBjørn Mork <bjorn@mork.no>
Mon, 22 Oct 2012 10:56:34 +0000 (10:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Oct 2012 06:40:11 +0000 (02:40 -0400)
commitc78b7c58665748aa775e86e0e49798b9f34a1dc9
tree81c298292d1ca721ab130a16d6c13f1a305af587
parentff06ab13a4ccae4acb44a2d4e3ece367b616ab50
net: cdc_ncm: refactoring for tx multiplexing

Adding multiplexed NDP support to cdc_ncm_fill_tx_frame, allowing
transmissions of multiple independent sessions within the same NTB.

Refactoring the code quite a bit to avoid having to store copies
of multiple NDPs being prepared for tx. The old code would still
reserve enough room for a maximum sized NDP in the skb so we might
as well keep them in the skb while they are being prepared.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/cdc_ncm.c