• Rasesh Mody's avatar
    bna: Tx and Rx Redesign · f3bd5173
    Rasesh Mody authored
    Change details:
     - This patch contains the changes as a result of redesigning of Tx, Rx data
       path setup. In the old design, setting up Txqs, Rxqs were done in the driver.
       With the new design, most of the hardware setup steps for the Txq, Rxqs are
       moved to FW. Host driver issues commands to FW through the message queue to
       setup/teardown tx, rx data path. FW performs necessary steps and responds
       back to the driver with a status.
     - As a result of this redesign, the state machine implementation for Tx, Rx
       objects have changed significantly. Instead of doing the raw register access,
       these state machines mostly send a command to FW and wait for response and
       take the next action. In addition to tx, rx datapath setup, this patch also
       deals with rx filter configuration - such as unicast address, multicast
       address, vlan filter, promiscuous mode etc.
    Signed-off-by: default avatarRasesh Mody <rmody@brocade.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    f3bd5173
bna_tx_rx.c 90.8 KB