On Mon, Sep 09, 2024 at 08:30:24PM +0300, Michael Guralnik wrote: > From: Chiara Meiohas <cmeiohas@xxxxxxxxxx> > > Introduce a new netlink command to allow rdma event monitoring. > The rdma events supported now are IB device > registration/unregistration and net device attachment/detachment. > > Example output of rdma monitor and the commands which trigger > the events: > > $ rdma monitor > $ rmmod mlx5_ib > [UNREGISTER] ibdev_idx 1 ibdev rocep8s0f1 > [UNREGISTER] ibdev_idx 0 ibdev rocep8s0f0 > > $ modprobe mlx5_ib > [REGISTER] ibdev_idx 2 ibdev mlx5_0 > [NETDEV_ATTACH] ibdev_idx 2 ibdev mlx5_0 port 1 netdev_idx 4 netdev eth2 > [REGISTER] ibdev_idx 3 ibdev mlx5_1 > [NETDEV_ATTACH] ibdev_idx 3 ibdev mlx5_1 port 1 netdev_idx 5 netdev eth3 No need to resend the series, I will fix when applying, but the right format will be: [NETDEV_ATTACH] dev 3 mlx5_1 port 1 netdev 5 eth3 Thanks