• Bjørn Mork's avatar
    net: cdc_ncm: refactoring for tx multiplexing · c78b7c58
    Bjørn Mork authored
    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: default avatarBjørn Mork <bjorn@mork.no>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    c78b7c58
cdc_ncm.c 35.3 KB