linux/Documentation/networking/devlink
Jianbo Liu 87dac697a0 net/mlx5e: Add devlink fdb_large_groups parameter
Add a devlink parameter to control the number of large groups in a
autogrouped flow table. The default value is 15, and the range is between 1
and 1024.

The size of each large group can be calculated according to the following
formula: size = 4M / (fdb_large_groups + 1).

Examples:
- Set the number of large groups to 20.
    $ devlink dev param set pci/0000:82:00.0 name fdb_large_groups \
      cmode driverinit value 20

  Then run devlink reload command to apply the new value.
    $ devlink dev reload pci/0000:82:00.0

- Read the number of large groups in flow table.
    $ devlink dev param show pci/0000:82:00.0 name fdb_large_groups
    pci/0000:82:00.0:
      name fdb_large_groups type driver-specific
        values:
          cmode driverinit value 20

Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Vlad Buslov <vladbu@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
2020-02-27 16:40:19 -08:00
..
bnxt.rst devlink: document devlink info versions reported by bnxt_en driver 2020-01-27 11:33:29 +01:00
devlink-dpipe.rst devlink: introduce devlink-dpipe.rst documentation file 2020-01-10 17:07:00 -08:00
devlink-health.rst
devlink-info.rst devlink: add macro for "fw.roce" 2020-01-27 11:33:29 +01:00
devlink-params.rst devlink: mention reloading in devlink-params.rst 2020-01-10 17:06:59 -08:00
devlink-region.rst devlink: document region snapshot triggering from userspace 2020-01-10 17:07:00 -08:00
devlink-resource.rst devlink: add a devlink-resource.rst documentation file 2020-01-10 17:07:00 -08:00
devlink-trap.rst devlink: add ACL generic packet traps 2020-02-24 11:55:06 -08:00
index.rst devlink: introduce devlink-dpipe.rst documentation file 2020-01-10 17:07:00 -08:00
ionic.rst devlink: add documentation for ionic device driver 2020-01-10 17:07:00 -08:00
mlx4.rst devlink: add a file documenting devlink regions 2020-01-10 17:07:00 -08:00
mlx5.rst net/mlx5e: Add devlink fdb_large_groups parameter 2020-02-27 16:40:19 -08:00
mlxsw.rst mlxsw: Add irif and erif disabled traps 2020-01-19 16:23:52 +01:00
mv88e6xxx.rst devlink: convert driver-specific files to reStructuredText 2020-01-10 17:06:59 -08:00
netdevsim.rst devlink: rename and expand devlink-trap-netdevsim.rst 2020-01-10 17:07:00 -08:00
nfp.rst devlink: document info versions for each driver 2020-01-10 17:06:59 -08:00
qed.rst devlink: fix typos in qed documentation 2020-01-15 23:14:31 +01:00
ti-cpsw-switch.rst devlink: convert driver-specific files to reStructuredText 2020-01-10 17:06:59 -08:00