linux_dsm_epyc7002/include/linux/mlx5
Huy Nguyen be0f161ef1 net/mlx5e: DCBNL, Implement tc with ets type and zero bandwidth
Previously, tc with ets type and zero bandwidth is not accepted
by driver. This behavior does not follow the IEEE802.1qaz spec.

If there are tcs with ets type and zero bandwidth, these tcs are
assigned to the lowest priority tc_group #0. We equally distribute
100% bw of the tc_group #0 to these zero bandwidth ets tcs.
Also, the non zero bandwidth ets tcs are assigned to tc_group #1.

If there is no zero bandwidth ets tc, the non zero bandwidth ets tcs
are assigned to tc_group #0.

Fixes: cdcf11212b ("net/mlx5e: Validate BW weight values of ETS")
Signed-off-by: Huy Nguyen <huyn@mellanox.com>
Reviewed-by: Parav Pandit <parav@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2017-10-26 00:47:27 -07:00
..
cmd.h
cq.h
device.h net/mlx5: Fix FPGA capability location 2017-09-28 07:23:09 +03:00
doorbell.h
driver.h net/mlx5: Fix FPGA capability location 2017-09-28 07:23:09 +03:00
fs.h
mlx5_ifc_fpga.h
mlx5_ifc.h net/mlx5: Check device capability for maximum flow counters 2017-09-28 07:23:09 +03:00
port.h net/mlx5e: DCBNL, Implement tc with ets type and zero bandwidth 2017-10-26 00:47:27 -07:00
qp.h
srq.h net/mlx5: Add XRQ support 2017-08-29 08:30:20 -04:00
transobj.h
vport.h