All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/2] *nfp: VF rate limit support
@ 2022-05-11 11:39 Simon Horman
  2022-05-11 11:39 ` [PATCH v2 net-next 1/2] rtnetlink: verify rate parameters for calls to ndo_set_vf_rate Simon Horman
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Simon Horman @ 2022-05-11 11:39 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski; +Cc: netdev, oss-drivers, Bin Chen

Hi,

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.

Bin Chen (2):
  rtnetlink: verify rate parameters for calls to ndo_set_vf_rate
  nfp: VF rate limit support

 .../ethernet/netronome/nfp/nfp_net_common.c   |  1 +
 .../ethernet/netronome/nfp/nfp_net_sriov.c    | 48 ++++++++++++++++++-
 .../ethernet/netronome/nfp/nfp_net_sriov.h    |  9 ++++
 net/core/rtnetlink.c                          | 28 +++++++----
 4 files changed, 74 insertions(+), 12 deletions(-)

-- 
2.30.2


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-05-12 13:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-11 11:39 [PATCH v2 net-next 0/2] *nfp: VF rate limit support Simon Horman
2022-05-11 11:39 ` [PATCH v2 net-next 1/2] rtnetlink: verify rate parameters for calls to ndo_set_vf_rate Simon Horman
2022-05-11 11:39 ` [PATCH v2 net-next 2/2] nfp: VF rate limit support Simon Horman
2022-05-11 23:49 ` [PATCH v2 net-next 0/2] *nfp: " Jakub Kicinski
2022-05-12 13:10 ` patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.