Commit 73e2567
Khang Nguyen
mctpd: Send Discovery Notify on Endpoint role set
Implement the first step of partial discovery, which is notifying the
bus owner of our presence on the bus.
Tested: Discovery Notify message is sent when setting role on interface.
Jul 15 08:33:42 evb-endpoint mctpd[3322]: mctpd: read_message got from sockaddr_mctp_ext eid 8 net 1 type 0x00 if 2 hw len 2 0x80:08 len 3
Jul 15 08:33:42 evb-endpoint mctpd[3322]: mctpd: Failure completion code 0x05 from physaddr if 2 hw len 2 0x00:00
Jul 15 08:33:42 evb-endpoint mctpd[3322]: mctpd: Warning: discovery notify on interface 'mctppcie0' failed: Connection refused
(My Root Complex does not handle Discovery Notify message yet, but
can confirm that the message is sent)
Signed-off-by: Khang Nguyen Duy <[email protected]>1 parent 64f4f53 commit 73e2567
2 files changed
+58
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2895 | 2895 | | |
2896 | 2896 | | |
2897 | 2897 | | |
| 2898 | + | |
| 2899 | + | |
| 2900 | + | |
| 2901 | + | |
| 2902 | + | |
| 2903 | + | |
| 2904 | + | |
| 2905 | + | |
| 2906 | + | |
| 2907 | + | |
| 2908 | + | |
| 2909 | + | |
| 2910 | + | |
| 2911 | + | |
| 2912 | + | |
| 2913 | + | |
| 2914 | + | |
| 2915 | + | |
| 2916 | + | |
| 2917 | + | |
| 2918 | + | |
| 2919 | + | |
| 2920 | + | |
| 2921 | + | |
| 2922 | + | |
| 2923 | + | |
| 2924 | + | |
| 2925 | + | |
| 2926 | + | |
| 2927 | + | |
| 2928 | + | |
| 2929 | + | |
| 2930 | + | |
| 2931 | + | |
| 2932 | + | |
| 2933 | + | |
| 2934 | + | |
| 2935 | + | |
| 2936 | + | |
| 2937 | + | |
| 2938 | + | |
| 2939 | + | |
2898 | 2940 | | |
2899 | 2941 | | |
2900 | 2942 | | |
| |||
2906 | 2948 | | |
2907 | 2949 | | |
2908 | 2950 | | |
| 2951 | + | |
2909 | 2952 | | |
2910 | 2953 | | |
2911 | 2954 | | |
| |||
2921 | 2964 | | |
2922 | 2965 | | |
2923 | 2966 | | |
2924 | | - | |
2925 | | - | |
| 2967 | + | |
| 2968 | + | |
2926 | 2969 | | |
2927 | 2970 | | |
2928 | 2971 | | |
| 2972 | + | |
| 2973 | + | |
2929 | 2974 | | |
2930 | 2975 | | |
2931 | 2976 | | |
| |||
2956 | 3001 | | |
2957 | 3002 | | |
2958 | 3003 | | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
2959 | 3014 | | |
2960 | 3015 | | |
2961 | 3016 | | |
| |||
0 commit comments