• Michael Chan's avatar
    bnxt_en: Remove BNXT_RX_HDL and BNXT_TX_HDL · 9c0b06de
    Michael Chan authored
    These 2 constants were used for the one RX and one TX completion
    ring pointer in the cpr->cp_ring_arr fixed array.  Now that we've
    changed to allocating the array for the exact number of entries to
    support more TX rings, we no longer use these constants.
    
    The array index as well as the type of completion ring (RX/TX) are
    now encoded in the handle for the completion ring.  This will allow
    us to locate the completion ring during NAPI for any number of
    completion rings sharing the same MSIX.  In the following patches,
    we'll be adding support for more TX rings associated with the same
    MSIX vector.
    Reviewed-by: default avatarAndy Gospodarek <andrew.gospodarek@broadcom.com>
    Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    9c0b06de
bnxt.c 368 KB