Re: [PATCH 1/1] RDMA/rxe: Fetch skb packets from ethernet layer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Nov 8, 2020 at 1:24 PM Zhu Yanjun <zyjzyj2000@xxxxxxxxx> wrote:
>
>
>
>
> -------- Forwarded Message --------
> Subject: Re: [PATCH 1/1] RDMA/rxe: Fetch skb packets from ethernet layer
> Date: Sat, 7 Nov 2020 12:26:17 -0800
> From: Jakub Kicinski <kuba@xxxxxxxxxx>
> To: Zhu Yanjun <yanjunz@xxxxxxxxxx>
> CC: dledford@xxxxxxxxxx, jgg@xxxxxxxx, linux-rdma@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxxxxxx
>
>
> On Thu, 5 Nov 2020 19:12:01 +0800 Zhu Yanjun wrote:
>
> In the original design, in rx, skb packet would pass ethernet
> layer and IP layer, eventually reach udp tunnel.
>
> Now rxe fetches the skb packets from the ethernet layer directly.
> So this bypasses the IP and UDP layer. As such, the skb packets
> are sent to the upper protocals directly from the ethernet layer.
>
> This increases bandwidth and decreases latency.
>
> Signed-off-by: Zhu Yanjun <yanjunz@xxxxxxxxxx>
>
>
> Nope, no stealing UDP packets with some random rx handlers.

Why? Is there any risks?

Zhu Yanjun
>
> The tunnel socket is a correct approach.



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux