All of lore.kernel.org
 help / color / mirror / Atom feed
* Revert "RDMA/rxe: Remove VLAN code leftovers from RXE"
@ 2021-01-20  5:33 Zhu Yanjun
  2021-01-20 14:30 ` Martin Wilck
  0 siblings, 1 reply; 8+ messages in thread
From: Zhu Yanjun @ 2021-01-20  5:33 UTC (permalink / raw)
  To: mwilck, Jason Gunthorpe, RDMA mailing list, Leon Romanovsky

On Tue, 2021-01-19 at 20:10 +0800, Zhu Yanjun wrote:
> On Tue, Jan 19, 2021 at 6:57 PM <mwilck@suse.com> wrote:
> >
> > From: Martin Wilck <mwilck@suse.com>
> >
> > This reverts commit b2d2440430c0fdd5e0cad3efd6d1c9e3d3d02e5b.
> >
> > It's true that creating rxe on top of 802.1q interfaces doesn't
> > work.
> > Thus, commit fd49ddaf7e26 ("RDMA/rxe: prevent rxe creation on top
> > of vlan interface")
> > was absolutely correct.
> >
> > But b2d2440430c0 was incorrect assuming that with this change,
> > RDMA and VLAN don't work togehter at all. It just has to be
> > set up differently. Rather than creating rxe on top of the VLAN
> > interface, rxe must be created on top of the physical interface.
> > RDMA then works just fine through VLAN interfaces on top of that
> > physical interface, via the "upper device" logic.
>
> I read this commit log for several times. I can not get you.
> Can you show me by an example?

> My test scenario which is broken by your patch uses a script that does
> roughly the following:

> # (set up eth0)
> rdma link add rxe_eth0 type rxe netdev eth0
> ip link add link eth0 name eth0.10 type vlan id 10
> ip link set eth0.10 up
> ip addr add 192.168.10.102/24 dev eth0.10

Thanks a lot.
It seems that the vlan SKBs also enter RXE.

There are 3 hunks in the commit b2d2440430c0("RDMA/rxe: Remove VLAN
code leftovers from RXE").

Can you make more research to find out which hunk causes this problem?

From Jason, vlan is not supported now.
If you want to make more work, the link
https://www.spinics.net/lists/linux-rdma/msg94737.html can give some
tips.

good luck.

Zhu Yanjun

> nvme discover -t rdma -a 192.168.10.101 -s 4420



> 192.168.10.101 is another host that configures the network
> and rxe the same way, and has some nvmet targets.

>  => fails with your patch applied, works otherwise.


> Regards,
> Martin

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

end of thread, other threads:[~2021-01-20 16:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-01-20  5:33 Revert "RDMA/rxe: Remove VLAN code leftovers from RXE" Zhu Yanjun
2021-01-20 14:30 ` Martin Wilck
2021-01-20 14:44   ` Zhu Yanjun
2021-01-20 15:04     ` Martin Wilck
2021-01-20 15:19       ` Jason Gunthorpe
2021-01-20 15:28         ` Martin Wilck
2021-01-20 15:45           ` Jason Gunthorpe
2021-01-20 16:18             ` Martin Wilck

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.