Skip to content

rtnetlink: Cleanup user notifications for netdev events

David Ahern netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest8 patches 1 replyIn review
  2. v18 patches 11 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8rtnetlink: Do not generate notifications for MTU eventsnet/core/rtnetlink.c+0 -20 replies
2/8rtnetlink: Do not generate notification for UDP_TUNNEL_PUSH_INFOnet/core/rtnetlink.c+0 -10 replies
3/8rtnetlink: Do not generate notifications for CHANGEADDR eventnet/core/rtnetlink.c+0 -10 replies
4/8rtnetlink: Do not generate notifications for POST_TYPE_CHANGE eventnet/core/rtnetlink.c+0 -10 replies
5/8rtnetlink: Do not generate notifications for PRECHANGEUPPER eventnet/core/rtnetlink.c+0 -10 replies
6/8rtnetlink: Do not generate notifications for CHANGELOWERSTATE eventnet/core/rtnetlink.c+0 -10 replies
7/8rtnetlink: Do not generate notifications for NETDEV_CHANGEUPPER eventnet/core/rtnetlink.c+0 -10 replies
8/8rtnetlink: Do not generate notifications for NETDEV_CHANGE_TX_QUEUE_LEN eventnet/core/rtnetlink.c+0 -10 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net-next v2 0/8] rtnetlink: Cleanup user notifications for netdev events

Vlad's recent patch to add the event type to rtnetlink notifications points out a number of redundant or unnecessary notifications sent to userspace for events that are essentially internal to the kernel. Trim the list to put a dent in the notification storm.

v2
- rebased to top of net-next with IFLA_EVENT patch reverted
- dropped removal NETDEV_CHANGEINFODATA since it is intentionally only to send a message to userspace
- dropped NOTIFY_PEERS since Vlad's says it is needed for macvlans
- add patches to remove NETDEV_CHANGEUPPER and NETDEV_CHANGE_TX_QUEUE_LEN from the event list

David Ahern (8):
rtnetlink: Do not generate notifications for MTU events
rtnetlink: Do not generate notification for UDP_TUNNEL_PUSH_INFO
rtnetlink: Do not generate notifications for CHANGEADDR event
rtnetlink: Do not generate notifications for POST_TYPE_CHANGE event
rtnetlink: Do not generate notifications for PRECHANGEUPPER event
rtnetlink: Do not generate notifications for CHANGELOWERSTATE event
rtnetlink: Do not generate notifications for NETDEV_CHANGEUPPER event
rtnetlink: Do not generate notifications for
NETDEV_CHANGE_TX_QUEUE_LEN event

 net/core/rtnetlink.c | 9 ---------
 1 file changed, 9 deletions(-)
Signature · 1 line
2.1.4