Skip to content

Add netdev_level_ratelimited to avoid netdev msg flush

Hangbin Liu netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2netdevice.h: add netdev_level_ratelimited for netdeviceinclude/linux/netdevice.h+53 -00 replies
2/2ibmveth: use netdev_err_ratelimited when set_multicast_listdrivers/net/ethernet/ibm/ibmveth.c+2 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCHv2 net 0/2] Add netdev_level_ratelimited to avoid netdev msg flush

This patch set add netdev_level_ratelimited to avoid netdev msg flush. The second patch fixed ibmveth msg flush when add lots of(e.g. 2000) group memberships in one group at the same time.

In my testing, there will be the

ibmveth 30000003 env3: h_multicast_ctrl rc=4 when adding an entry to the filter table

error when add more thann 256 memberships in one multicast group. I haven't found this issue on other driver. It looks like an ibm driver issue and need to be fixed separately.

v2: add netdev_level_ratelimited as Joe Perches suggested

Hangbin Liu (2):
netdevice.h: add netdev_level_ratelimited for netdevice
ibmveth: use net_err_ratelimited when set_multicast_list

 drivers/net/ethernet/ibm/ibmveth.c |  5 ++-
 include/linux/netdevice.h          | 53 ++++++++++++++++++++++++++++++
 2 files changed, 55 insertions(+), 3 deletions(-)
Signature · 1 line
2.19.2