• Ido Schimmel's avatar
    mlxsw: spectrum: Add IEEE 802.1Qaz ETS support · 8e8dfe9f
    Ido Schimmel authored
    Implement the appropriate DCB ops and allow a user to configure:
    	* Priority to traffic class (TC) mapping with a total of 8
    	  supported TCs
    	* Transmission selection algorithm (TSA) for each TC and the
    	  corresponding weights in case of weighted round robin (WRR)
    
    As previously explained, we treat the priority group (PG) buffer in the
    port's headroom as the ingress counterpart of the egress TC. Therefore,
    when a certain priority to TC mapping is configured, we also configure
    the port's headroom buffer.
    Signed-off-by: default avatarIdo Schimmel <idosch@mellanox.com>
    Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    8e8dfe9f
spectrum_dcb.c 8.02 KB