• I
    i2400m: RX and TX data/control paths · aa5a7aca
    Inaky Perez-Gonzalez 提交于
    Handling of TX/RX data to/from the i2400m device (IP packets, control
    and diagnostics). On RX, this parses the received read transaction
    from the device, breaks it in chunks and passes it to the
    corresponding subsystems (network and control).
    
    Transmission to the device is done through a software FIFO, as
    data/control frames can be coalesced (while the device is reading the
    previous tx transaction, others accumulate). A FIFO is used because at
    the end it is resource-cheaper that scatter/gather over USB. As well,
    most traffic is going to be download (vs upload).
    Signed-off-by: NInaky Perez-Gonzalez <inaky@linux.intel.com>
    Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
    aa5a7aca
rx.c 16.6 KB