• John Fastabend's avatar
    ixgbe: IEEE 802.1Qaz, implement priority assignment table · 17049d30
    John Fastabend authored
    This patch adds support to use the priority assignment
    table in the ieee_ets structure to map priorities to
    traffic classes. Previously ixgbe only supported a
    1:1 mapping. Now we can enable and disable hardware
    DCB support when multiple traffic classes are actually
    being used. This allows the default case all priorities
    mapped to traffic class 0 to work in normal hardware
    mode and utilize the full packet buffer.
    
    This patch does not address putting the hardware in
    4TC mode so packet buffer space may be underutilized
    in this case. A follow up patch can address this
    optimization. But at least we have the hooks to do
    this now.
    
    Also CEE will behave as it always has and map priorities
    1:1 with traffic classes.
    Signed-off-by: default avatarJohn Fastabend <john.r.fastabend@intel.com>
    Tested-by: default avatarRoss Brattain <ross.b.brattain@intel.com>
    Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
    17049d30
ixgbe_dcb_82599.c 12.3 KB