Commit dd86fec
devlink: factor out building a snapshot notification
We'll need to send snapshot info back on the socket
which requested a snapshot to be created. Factor out
constructing a snapshot description from the broadcast
notification code.
v3: new patch
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>1 parent 39d0105 commit dd86fec
1 file changed
+28
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3716 | 3716 | | |
3717 | 3717 | | |
3718 | 3718 | | |
3719 | | - | |
3720 | | - | |
3721 | | - | |
| 3719 | + | |
| 3720 | + | |
| 3721 | + | |
| 3722 | + | |
3722 | 3723 | | |
3723 | 3724 | | |
3724 | 3725 | | |
3725 | 3726 | | |
3726 | 3727 | | |
3727 | 3728 | | |
3728 | | - | |
3729 | 3729 | | |
3730 | 3730 | | |
3731 | 3731 | | |
3732 | | - | |
| 3732 | + | |
3733 | 3733 | | |
3734 | | - | |
3735 | | - | |
| 3734 | + | |
| 3735 | + | |
| 3736 | + | |
3736 | 3737 | | |
| 3738 | + | |
3737 | 3739 | | |
3738 | 3740 | | |
3739 | 3741 | | |
| |||
3757 | 3759 | | |
3758 | 3760 | | |
3759 | 3761 | | |
3760 | | - | |
3761 | | - | |
3762 | | - | |
3763 | | - | |
| 3762 | + | |
3764 | 3763 | | |
3765 | 3764 | | |
3766 | 3765 | | |
3767 | 3766 | | |
3768 | 3767 | | |
| 3768 | + | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
| 3772 | + | |
| 3773 | + | |
| 3774 | + | |
| 3775 | + | |
| 3776 | + | |
| 3777 | + | |
| 3778 | + | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
| 3785 | + | |
3769 | 3786 | | |
3770 | 3787 | | |
3771 | 3788 | | |
| |||
0 commit comments