Re: [PATCHv1 1/1] IB: rxe: replace av->network_type with skb->protocol

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

 



On Wed, Mar 27, 2019 at 05:50:47AM -0400, Zhu Yanjun wrote:
> In the function rxe_init_packet, based on av->network_type,
> skb->protocol is set to ipv4 or ipv6. The functions rxe_prepare
> and rxe_send are called after the functin rxe_init_packet.
> So in these functions, av->network_type can be replaced with
> skb->protocol.
> The functions are in the xmit fast path. So with skb->protocol,
> the performance will be better.
> 
> Signed-off-by: Zhu Yanjun <yanjun.zhu@xxxxxxxxxx>
> ---
> V0->V1: fix the conflicts with other patches. This patch is based on rdma.git
> ---
>  drivers/infiniband/sw/rxe/rxe_net.c | 28 ++++++++++++----------------
>  1 file changed, 12 insertions(+), 16 deletions(-)

Applied to for-next, thanks

Jason



[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