• Inaky Perez-Gonzalez's avatar
    i2400m: RX and TX data/control paths · aa5a7aca
    Inaky Perez-Gonzalez authored
    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: default avatarInaky Perez-Gonzalez <inaky@linux.intel.com>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    aa5a7aca
rx.c 16.6 KB