octeontx2.rst 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. .. SPDX-License-Identifier: GPL-2.0
  2. =========================
  3. octeontx2 devlink support
  4. =========================
  5. This document describes the devlink features implemented by the ``octeontx2 AF, PF and VF``
  6. device drivers.
  7. Parameters
  8. ==========
  9. The ``octeontx2 PF and VF`` drivers implement the following driver-specific parameters.
  10. .. list-table:: Driver-specific parameters implemented
  11. :widths: 5 5 5 85
  12. * - Name
  13. - Type
  14. - Mode
  15. - Description
  16. * - ``mcam_count``
  17. - u16
  18. - runtime
  19. - Select number of match CAM entries to be allocated for an interface.
  20. The same is used for ntuple filters of the interface. Supported by
  21. PF and VF drivers.
  22. The ``octeontx2 AF`` driver implements the following driver-specific parameters.
  23. .. list-table:: Driver-specific parameters implemented
  24. :widths: 5 5 5 85
  25. * - Name
  26. - Type
  27. - Mode
  28. - Description
  29. * - ``dwrr_mtu``
  30. - u32
  31. - runtime
  32. - Use to set the quantum which hardware uses for scheduling among transmit queues.
  33. Hardware uses weighted DWRR algorithm to schedule among all transmit queues.
  34. The ``octeontx2 PF`` driver implements the following driver-specific parameters.
  35. .. list-table:: Driver-specific parameters implemented
  36. :widths: 5 5 5 85
  37. * - Name
  38. - Type
  39. - Mode
  40. - Description
  41. * - ``unicast_filter_count``
  42. - u8
  43. - runtime
  44. - Set the maximum number of unicast filters that can be programmed for
  45. the device. This can be used to achieve better device resource
  46. utilization, avoiding over consumption of unused MCAM table entries.