Commit a15115a
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 <khangng@amperecomputing.com>1 parent f84314f commit a15115a
2 files changed
+59
-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 | |
|---|---|---|---|
| |||
2893 | 2893 | | |
2894 | 2894 | | |
2895 | 2895 | | |
| 2896 | + | |
| 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 | + | |
2896 | 2939 | | |
2897 | 2940 | | |
2898 | 2941 | | |
| |||
2904 | 2947 | | |
2905 | 2948 | | |
2906 | 2949 | | |
| 2950 | + | |
2907 | 2951 | | |
2908 | 2952 | | |
2909 | 2953 | | |
| |||
2919 | 2963 | | |
2920 | 2964 | | |
2921 | 2965 | | |
2922 | | - | |
2923 | | - | |
| 2966 | + | |
| 2967 | + | |
2924 | 2968 | | |
2925 | 2969 | | |
2926 | 2970 | | |
| 2971 | + | |
| 2972 | + | |
2927 | 2973 | | |
2928 | 2974 | | |
2929 | 2975 | | |
| |||
2954 | 3000 | | |
2955 | 3001 | | |
2956 | 3002 | | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
2957 | 3013 | | |
2958 | 3014 | | |
2959 | 3015 | | |
| |||
0 commit comments