• A
    cxgb4: Update T6 Buffer Group and Channel Mappings · 193c4c28
    Arjun Vynipadath 提交于
    We were using t4_get_mps_bg_map() for both t4_get_port_stats()
    to determine which MPS Buffer Groups to report statistics on for a given
    Port, and also for t4_sge_alloc_rxq() to provide a TP Ingress Channel
    Congestion Map.  For T4/T5 these are actually the same values (because they
    are ~somewhat~ related), but for T6 they should return different values
    (T6 has Port 0 associated with MPS Buffer Group 0 (with MPS Buffer Group 1
    silently cascading off) and Port 1 is associated with MPS Buffer Group 2
    (with 3 cascading off)).
    
    Based on the original work by Casey Leedom <leedom@chelsio.com>
    Signed-off-by: NArjun Vynipadath <arjun@chelsio.com>
    Signed-off-by: NGanesh Goudar <ganeshgr@chelsio.com>
    Signed-off-by: NDavid S. Miller <davem@davemloft.net>
    193c4c28
cxgb4_main.c 143.3 KB