Avnu / OpenAvnu

OpenAvnu - an Avnu sponsored repository for Time Sensitive Network (TSN and AVB) technology
462 stars 289 forks source link

Avtp_pipeline- wav_file_talker works only with AVB_FEATURE_ENDPOINT=0 #856

Open shirArg opened 5 years ago

shirArg commented 5 years ago

Hi, I'm trying to use the avtp pipeline to send a wav file from one computer to the other. Both computers have I210 nics, and they are connected using a AVB compatible switch (Extreme Summit x430 8p).

After a while, I managed to make it work using AVB_FEATURE_ENDPOINT=0. Now I want to use AVB_FEATURE_ENDPOINT=1, but It doesn't work for me.

In the talker computer I use: sudo ./openavb_harness -I $IFNAME -s $STREAMS -d 0 -a a0:36:9f:2d:01:ad wav_file_talker.ini,sr_class=$CLASS,map_nv_tx_rate=$RATE,max_transit_usec=$TRANSIT_USEC,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=$REPORT

I get no errors in the log (attached in the end). My switch is configured to enable AVB, and everything seems to be fine. But- I can't see IEEE-1722 packets sent from the computer (as oppose to using it with AVB_FEATURE_ENDPOINT=0, which enabled me to see packets).

Any idea why this is not working? Anything else I need to do?....

Thank you very much!

My log:

sudo ./openavb_harness -I $IFNAME -s $STREAMS -d 0 -a a0:36:9f:2d:01:ad wav_file_talker.ini,sr_class=$CLASS,map_nv_tx_rate=$RATE,max_transit_usec=$TRANSIT_USEC,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=$REPORT Opening: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:00,stream_addr=a0:36:9f:2d:01:ad,stream_uid=0,ifname=enp4s0 Opening: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:01,stream_addr=a0:36:9f:2d:01:ad,stream_uid=1,ifname=enp4s0 Opening: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:02,stream_addr=a0:36:9f:2d:01:ad,stream_uid=2,ifname=enp4s0 Opening: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:03,stream_addr=a0:36:9f:2d:01:ad,stream_uid=3,ifname=enp4s0 Opening: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:04,stream_addr=a0:36:9f:2d:01:ad,stream_uid=4,ifname=enp4s0 Opening: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:05,stream_addr=a0:36:9f:2d:01:ad,stream_uid=5,ifname=enp4s0 Opening: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:06,stream_addr=a0:36:9f:2d:01:ad,stream_uid=6,ifname=enp4s0 Configuring: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:00,stream_addr=a0:36:9f:2d:01:ad,stream_uid=0,ifname=enp4s0 Configuring: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:01,stream_addr=a0:36:9f:2d:01:ad,stream_uid=1,ifname=enp4s0 Configuring: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:02,stream_addr=a0:36:9f:2d:01:ad,stream_uid=2,ifname=enp4s0 Configuring: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:03,stream_addr=a0:36:9f:2d:01:ad,stream_uid=3,ifname=enp4s0 Configuring: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:04,stream_addr=a0:36:9f:2d:01:ad,stream_uid=4,ifname=enp4s0 Configuring: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:05,stream_addr=a0:36:9f:2d:01:ad,stream_uid=5,ifname=enp4s0 Configuring: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:06,stream_addr=a0:36:9f:2d:01:ad,stream_uid=6,ifname=enp4s0 Starting: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:00,stream_addr=a0:36:9f:2d:01:ad,stream_uid=0,ifname=enp4s0 Starting: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:01,stream_addr=a0:36:9f:2d:01:ad,stream_uid=1,ifname=enp4s0 Starting: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:02,stream_addr=a0:36:9f:2d:01:ad,stream_uid=2,ifname=enp4s0 Starting: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:03,stream_addr=a0:36:9f:2d:01:ad,stream_uid=3,ifname=enp4s0 Starting: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:04,stream_addr=a0:36:9f:2d:01:ad,stream_uid=4,ifname=enp4s0 Starting: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:05,stream_addr=a0:36:9f:2d:01:ad,stream_uid=5,ifname=enp4s0 Starting: wav_file_talker.ini,sr_class=A,map_nv_tx_rate=8000,max_transit_usec=2000,intf_nv_file_name=Dont_Stop_Me_Now_EDITED.wav,report_seconds=0,dest_addr=91:e0:f0:00:fe:06,stream_addr=a0:36:9f:2d:01:ad,stream_uid=6,ifname=enp4s0 [1546524069:215223718 OPENAVB osalTime] INFO: local_time = 1546524068991161711 [1546524069:215231210 OPENAVB osalTime] INFO: ml_phoffset = -615068664021, ls_phoffset = 210779057 [1546524069:215237675 OPENAVB osalTime] INFO: ml_freqffset = 1.000044, ls_freqoffset = 0.999967 [1546524069:215239697 OPENAVB Endpoint] INFO: AVTP Pipeline: 0.1.3 (Development) [1546524069:215339908 OPENAVB Talker / Listener] INFO: AVTP Pipeline: 0.1.3 (Development) [1546524069:215496833 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbMapUncmpAudioInitialize [1546524069:215508314 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbIntfWavFileInitialize [1546524069:215540984 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:215544398 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:215689849 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:215693731 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:215696191 OPENAVB 61883-6 Mapping] WARNING: audio rate (44100) is not an integer multiple of TX rate (8000). Recommend TX rate of (7350) [1546524069:215697764 OPENAVB 61883-6 Mapping] INFO: Rate:44100 [1546524069:215698748 OPENAVB 61883-6 Mapping] INFO: Bits:16 [1546524069:215699798 OPENAVB 61883-6 Mapping] INFO: Channels:2 [1546524069:215700755 OPENAVB 61883-6 Mapping] INFO: Packet Interval:8000 [1546524069:215701664 OPENAVB 61883-6 Mapping] INFO: Frames per packet:6 [1546524069:215702548 OPENAVB 61883-6 Mapping] INFO: Packing Factor:32 [1546524069:215703734 OPENAVB 61883-6 Mapping] INFO: Frames per MediaQ Item:192 [1546524069:215704656 OPENAVB 61883-6 Mapping] INFO: Sample Size Bytes:4 [1546524069:215882141 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbMapUncmpAudioInitialize [1546524069:215951818 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbIntfWavFileInitialize [1546524069:215978686 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:215980887 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:215988399 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:215989469 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:215990866 OPENAVB 61883-6 Mapping] WARNING: audio rate (44100) is not an integer multiple of TX rate (8000). Recommend TX rate of (7350) [1546524069:215991913 OPENAVB 61883-6 Mapping] INFO: Rate:44100 [1546524069:215992584 OPENAVB 61883-6 Mapping] INFO: Bits:16 [1546524069:215993187 OPENAVB 61883-6 Mapping] INFO: Channels:2 [1546524069:215993873 OPENAVB 61883-6 Mapping] INFO: Packet Interval:8000 [1546524069:215994466 OPENAVB 61883-6 Mapping] INFO: Frames per packet:6 [1546524069:215995040 OPENAVB 61883-6 Mapping] INFO: Packing Factor:32 [1546524069:215995615 OPENAVB 61883-6 Mapping] INFO: Frames per MediaQ Item:192 [1546524069:215996313 OPENAVB 61883-6 Mapping] INFO: Sample Size Bytes:4 [1546524069:216126298 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbMapUncmpAudioInitialize [1546524069:216129850 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbIntfWavFileInitialize [1546524069:216141366 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:216142528 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:216147455 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:216148380 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:216149277 OPENAVB 61883-6 Mapping] WARNING: audio rate (44100) is not an integer multiple of TX rate (8000). Recommend TX rate of (7350) [1546524069:216163105 OPENAVB 61883-6 Mapping] INFO: Rate:44100 [1546524069:216163660 OPENAVB 61883-6 Mapping] INFO: Bits:16 [1546524069:216164263 OPENAVB 61883-6 Mapping] INFO: Channels:2 [1546524069:216164803 OPENAVB 61883-6 Mapping] INFO: Packet Interval:8000 [1546524069:216165441 OPENAVB 61883-6 Mapping] INFO: Frames per packet:6 [1546524069:216165961 OPENAVB 61883-6 Mapping] INFO: Packing Factor:32 [1546524069:216166470 OPENAVB 61883-6 Mapping] INFO: Frames per MediaQ Item:192 [1546524069:216167002 OPENAVB 61883-6 Mapping] INFO: Sample Size Bytes:4 [1546524069:216284287 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbMapUncmpAudioInitialize [1546524069:216287156 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbIntfWavFileInitialize [1546524069:216296742 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:216297849 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:216306375 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:216307095 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:216307946 OPENAVB 61883-6 Mapping] WARNING: audio rate (44100) is not an integer multiple of TX rate (8000). Recommend TX rate of (7350) [1546524069:216308640 OPENAVB 61883-6 Mapping] INFO: Rate:44100 [1546524069:216309232 OPENAVB 61883-6 Mapping] INFO: Bits:16 [1546524069:216309827 OPENAVB 61883-6 Mapping] INFO: Channels:2 [1546524069:216310329 OPENAVB 61883-6 Mapping] INFO: Packet Interval:8000 [1546524069:216310886 OPENAVB 61883-6 Mapping] INFO: Frames per packet:6 [1546524069:216311566 OPENAVB 61883-6 Mapping] INFO: Packing Factor:32 [1546524069:216312114 OPENAVB 61883-6 Mapping] INFO: Frames per MediaQ Item:192 [1546524069:216312651 OPENAVB 61883-6 Mapping] INFO: Sample Size Bytes:4 [1546524069:216493818 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbMapUncmpAudioInitialize [1546524069:216497333 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbIntfWavFileInitialize [1546524069:216509788 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:216510841 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:216516169 OPENAVB Wav File Interface] INFO: Number of data bytes:38285312 [1546524069:216517007 OPENAVB Wav File Interface] INFO: Wav file - Rate:44100 Bits:16 Channels:2 [1546524069:216517794 OPENAVB 61883-6 Mapping] WARNING: audio rate (44100) is not an integer multiple of TX rate (8000). Recommend TX rate of (7350) [1546524069:216518453 OPENAVB 61883-6 Mapping] INFO: Rate:44100 [1546524069:216518989 OPENAVB 61883-6 Mapping] INFO: Bits:16 [1546524069:216519539 OPENAVB 61883-6 Mapping] INFO: Channels:2 [1546524069:216520078 OPENAVB 61883-6 Mapping] INFO: Packet Interval:8000 [1546524069:216520644 OPENAVB 61883-6 Mapping] INFO: Frames per packet:6 [1546524069:216521134 OPENAVB 61883-6 Mapping] INFO: Packing Factor:32 [1546524069:216521728 OPENAVB 61883-6 Mapping] INFO: Frames per MediaQ Item:192 [1546524069:216522218 OPENAVB 61883-6 Mapping] INFO: Sample Size Bytes:4 [1546524069:216634279 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbMapUncmpAudioInitialize [1546524069:216637716 OPENAVB Talker / Listener] INFO: Looking up symbol for function: openavbIntfWavFileInitialize [1546524071:392744422 OPENAVB Endpoint MAAP] INFO: MAAP address range 1 acquired: 0x91e0f000c376-0x91e0f000c395 (Size 32) [1546524071:440336713 OPENAVB Endpoint MAAP] INFO: Allocated MAAP address 91:e0:f0:00:c3:76 [1546524071:440342418 OPENAVB Endpoint] INFO: SRP talker callback uid=2: lsnrDecl=fe [1546524071:440409635 OPENAVB Endpoint MAAP] INFO: Allocated MAAP address 91:e0:f0:00:c3:77 [1546524071:440410787 OPENAVB Endpoint] INFO: SRP talker callback uid=1: lsnrDecl=fe [1546524071:440420918 OPENAVB Endpoint MAAP] INFO: Allocated MAAP address 91:e0:f0:00:c3:78 [1546524071:440421759 OPENAVB Endpoint] INFO: SRP talker callback uid=0: lsnrDecl=fe [1546524071:440429349 OPENAVB Endpoint MAAP] INFO: Allocated MAAP address 91:e0:f0:00:c3:79 [1546524071:440430014 OPENAVB Endpoint] INFO: SRP talker callback uid=3: lsnrDecl=fe [1546524071:440437199 OPENAVB Endpoint MAAP] INFO: Allocated MAAP address 91:e0:f0:00:c3:7a [1546524071:440437893 OPENAVB Endpoint] INFO: SRP talker callback uid=4: lsnrDecl=fe [1546524071:440446570 OPENAVB Endpoint MAAP] INFO: Allocated MAAP address 91:e0:f0:00:c3:7b [1546524071:440447184 OPENAVB Endpoint] INFO: SRP talker callback uid=6: lsnrDecl=fe [1546524071:440454414 OPENAVB Endpoint MAAP] INFO: Allocated MAAP address 91:e0:f0:00:c3:7c [1546524071:440455356 OPENAVB Endpoint] INFO: SRP talker callback uid=5: lsnrDecl=fe [1546524322:394316366 OPENAVB Endpoint] INFO: SRP talker callback uid=0: lsnrDecl=1 [1546524322:394351330 OPENAVB Endpoint] INFO: SRP talker callback uid=1: lsnrDecl=1 [1546524322:394375148 OPENAVB Endpoint] INFO: SRP talker callback uid=2: lsnrDecl=1 [1546524322:394395847 OPENAVB Endpoint] INFO: SRP talker callback uid=3: lsnrDecl=1 [1546524322:394415645 OPENAVB Endpoint] INFO: SRP talker callback uid=4: lsnrDecl=1 [1546524322:394430355 OPENAVB Endpoint] INFO: SRP talker callback uid=5: lsnrDecl=1 [1546524322:394442062 OPENAVB Endpoint] INFO: SRP talker callback uid=6: lsnrDecl=1 [1546524322:494013454 OPENAVB Endpoint] INFO: SRP talker callback uid=0: lsnrDecl=1 [1546524322:494055106 OPENAVB Endpoint] INFO: SRP talker callback uid=1: lsnrDecl=1 [1546524322:494082502 OPENAVB Endpoint] INFO: SRP talker callback uid=2: lsnrDecl=1 [1546524322:494106825 OPENAVB Endpoint] INFO: SRP talker callback uid=3: lsnrDecl=1 [1546524322:494124465 OPENAVB Endpoint] INFO: SRP talker callback uid=4: lsnrDecl=1 [1546524322:494139322 OPENAVB Endpoint] INFO: SRP talker callback uid=5: lsnrDecl=1 [1546524322:494152833 OPENAVB Endpoint] INFO: SRP talker callback uid=6: lsnrDecl=1 [1546524323:934352747 OPENAVB Endpoint] INFO: SRP talker callback uid=0: lsnrDecl=1 [1546524323:934381239 OPENAVB Endpoint] INFO: SRP talker callback uid=1: lsnrDecl=1 [1546524323:934396866 OPENAVB Endpoint] INFO: SRP talker callback uid=2: lsnrDecl=1 [1546524323:934411744 OPENAVB Endpoint] INFO: SRP talker callback uid=3: lsnrDecl=1 [1546524323:934425897 OPENAVB Endpoint] INFO: SRP talker callback uid=4: lsnrDecl=1 [1546524323:934440985 OPENAVB Endpoint] INFO: SRP talker callback uid=5: lsnrDecl=1 [1546524323:934455449 OPENAVB Endpoint] INFO: SRP talker callback uid=6: lsnrDecl=1 [1546524327:523799842 OPENAVB Endpoint] INFO: SRP talker callback uid=0: lsnrDecl=1

andrew-elder commented 5 years ago

When you say you can't "see" any packets, what do you mean exactly? Do you have a network TAP in-line with the i210? Or, some other method?

shirArg commented 5 years ago

Sorry! I meant I don't see them in Wireshark (and I did see them when using it with AVB_FEATURE_ENDPOINT=0)

andrew-elder commented 5 years ago

Wireshark connected to what exactly? The i210? A second NIC connected to a network TAP?

shirArg commented 5 years ago

My setup is: PC1 <-> I210 <-> Switch <-> I210 <-> Pc2 The Wireshark sniffs the I210 of the first computer, that's where I expect to see the packets. No tap is used, and I don't use the PC's built in nic at all.

The weird thing is that (after a lot of work) it worked perfectly with AVB_FEATURE_ENDPOINT=0, but now no audio packets are even sent...

Thanks

andrew-elder commented 5 years ago

I'm not too sure of the current state (someone else probably has more details), but it used to be that the talker packets were sent to the i210 from a sort of backdoor descriptor path - so they wouldn't show up in the regular linux network stack (and therefore wireshark).

shirArg commented 5 years ago

I know what you are talking about- as far as I seen this is what happening in the simple_talker example.

I was assuming this is not what's going on in avtp_pipeline, especially after seeing the packets in Wireshark when it did work (using AVB_FEATURE_ENDPOINT=0). I guess the sending mechanism is not changed when changing AVB_FEATURE_ENDPOINT (but I didn't look into the code, so maybe I'm wrong...). Anyway- I can't see packets nor hear music in the other PC too.

Can you think of anything else I can do to investigate this? It's kind of tricky since the logs seems fine (maybe expect this rate warning, but I don't assume this is what it all about, and again it worked in the simpler case with the same song...)

Thanks!

shirArg commented 5 years ago

I managed to make it work!!

So the problem was actually in the switch configuration. Searching through the switch console I found this- image

The problem was that I configured the switch to use VLAN 2 (in the previous level, I saw in Wireshark that the packets are sent with vlan tag 2, but don't pass the switch), but I didn't configure it to be tagged, and for some reason it messed up the SRP protocol. The solution was to tell the switch to use tags (in this switch - `configure vlan "Default" add ports 1-10 tagged'), so after this the result of the msrp was-

image

And suddenly everything works :) (I can see the packets in Wireshark, and hear the song in the other PC).

I don't really know what was the problem in the avtp code, but it seems that there should be somethings that understands the SRP is not really working, and tells the user about it...

Thank you very much for the help! (And I hope someone else will find it useful in the future...)