Add netdev_level_ratelimited to avoid netdev msg flush
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest2 patches 4 repliesIn review
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | netdevice.h: add netdev_level_ratelimited for netdeviceinclude/ | +53 | 0 replies | |
| 2/2 | ibmveth: use netdev_err_ratelimited when set_multicast_listdrivers/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
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