linux-sg2042/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 net/mlx5_core: Fix Mellanox copyright note 2015-04-02 16:33:42 -04:00
cq.h IB/mlx5: Support 4k UAR for libmlx5 2017-01-09 20:25:09 +02:00
device.h net/mlx5: Fix FPGA capability location 2017-09-28 07:23:09 +03:00
doorbell.h IB/mlx5: Use blue flame register allocator in mlx5_ib 2017-01-09 20:25:08 +02:00
driver.h net/mlx5: Fix FPGA capability location 2017-09-28 07:23:09 +03:00
fs.h net/mlx5: Use underlay QPN from the root name space 2017-05-14 13:33:45 +03:00
mlx5_ifc.h net/mlx5: Check device capability for maximum flow counters 2017-09-28 07:23:09 +03:00
mlx5_ifc_fpga.h net/mlx5: Accel, Add IPSec acceleration interface 2017-06-27 16:36:47 +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 RDMA/mlx5: Fix existence check for extended address vector 2017-08-04 14:24:05 -04:00
srq.h net/mlx5: Add XRQ support 2017-08-29 08:30:20 -04:00
transobj.h IB/mlx5: Support setting Ethernet priority for Raw Packet QPs 2016-01-21 12:01:09 -05:00
vport.h net/mlx5: Add raw ethernet local loopback firmware command 2017-07-24 10:26:16 -04:00