Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
* rxe mcast
@ 2023-11-01 18:07 Bob Pearson
  2023-11-01 18:29 ` Jason Gunthorpe
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Pearson @ 2023-11-01 18:07 UTC (permalink / raw)
  To: jgg, linux-rdma

Jason,

I wrote a test program to verify that multicast is working in rxe
since there don't seem to be any pyverbs tests that actually test this.
It turns out that it doesn't work for several reasons most of which
I have fixed. But there is one that I can't figure out.

The rxe driver calls dev_mc_add() with a MAC address to add the
multicast MAC address to the device which shows up when you type
'ip maddr'. But nothing comes through from the network to the driver.
Wireshark does see the packets but they don't get to the IP or
UDP layers in the netdev stack.

If I run iperf -u and bind to a multicast address it works fine and
when you type ip maddr you get both a link: MAC address and an
inet: IP multicast address. In fact if you start an iperf server with 
the same multicast address I am testing with and just let it sit
there my test traffic also come through to the rxe driver.
So creating the IP mcast address seems critical to letting the
netdev stack receive traffic.

I tried creating a separate UDP socket bound to the mcast address
but it doesn't seem to create the required IP address.

Any ideas would be welcome.

Bob

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-11-01 21:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-01 18:07 rxe mcast Bob Pearson
2023-11-01 18:29 ` Jason Gunthorpe
2023-11-01 21:02   ` Bob Pearson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox