]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'nfp-vf-rate-limit-support'
authorPaolo Abeni <pabeni@redhat.com>
Thu, 12 May 2022 11:03:12 +0000 (13:03 +0200)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 12 May 2022 11:03:12 +0000 (13:03 +0200)
commit6a5e8555f292bdd92fea0a8bc95d2b1c3a0c8743
tree65c76bd75ec6eef47ec3437db6aa5c0df3d36f92
parent9387d5b234de2bd055ab2bd20439426ce2e94a67
parent2e7130faa8e47feb50c178310ac75fbed5158d2e
Merge branch 'nfp-vf-rate-limit-support'

Simon Horman says:

====================
*nfp: VF rate limit support

this short series adds VF rate limiting to the NFP driver.

The first patch, as suggested by Jakub Kicinski, adds a helper
to check that ndo_set_vf_rate() rate parameters are sane.
It also provides a place for further parameter checking to live,
if needed in future.

The second patch adds VF rate limit support to the NFP driver.
It addresses several comments made on v1, including removing
the parameter check that is now provided by the helper added
in the first patch.
====================

Link: https://lore.kernel.org/r/20220511113932.92114-1-simon.horman@corigine.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>