• Michael Chan's avatar
    bnxt_en: Implement ethtool -X to set indirection table. · bd3191b5
    Michael Chan authored
    With the new infrastructure in place, we can now support the setting of
    the indirection table from ethtool.
    
    When changing channels, in a rare case that firmware cannot reserve the
    rings that were promised, we will still try to keep the RSS map and only
    revert to default when absolutely necessary.
    
    v4: Revert RSS map to default during ring change only when absolutely
        necessary.
    
    v3: Add warning messages when firmware cannot reserve the requested RX
        rings, and when the RSS table entries have to change to default.
    
    v2: When changing channels, if the RSS table size changes and RSS map
        is non-default, return error.
    Signed-off-by: default avatarMichael Chan <michael.chan@broadcom.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    bd3191b5
bnxt.c 325 KB