inuxdriverproject.org
> Subject: Re: [PATCH net-next,1/2] hyperv: Remove recv_pkt_list and lock
>
> From: Haiyang Zhang
> Date: Mon, 21 Apr 2014 12:26:15 -0700
>
> > @@ -401,8 +401,6 @@ static void rndis_filter_receive_data(struct
> rndis_device *dev,
> > pkt-&g
From: Haiyang Zhang
Date: Mon, 21 Apr 2014 12:26:15 -0700
> @@ -401,8 +401,6 @@ static void rndis_filter_receive_data(struct rndis_device
> *dev,
> pkt->total_data_buflen = rndis_pkt->data_len;
> pkt->data = (void *)((unsigned long)pkt->data + data_offset);
>
> - pkt->is_data_p
Removed recv_pkt_list and lock, and updated related code, so that
the locking overhead is reduced especially when multiple channels
are in use.
The recv_pkt_list isn't actually necessary because the packets are
processed sequentially in each channel. It has been replaced by a
local variable, and t
3 matches
Mail list logo