On Thu, 2017-03-16 at 19:40 -0700, Alexander Duyck wrote:
> What I probably can do is go through and replace all the spots where
> we where checking for sk_napi_id being 0, and instead replace it with
> a check against NR_CPUS.
This seems a good idea.
On Thu, 2017-03-16 at 19:40 -0700, Alexander Duyck wrote:
> What I probably can do is go through and replace all the spots where
> we where checking for sk_napi_id being 0, and instead replace it with
> a check against NR_CPUS.
This seems a good idea.
On Thu, Mar 16, 2017 at 7:57 PM, Eric Dumazet wrote:
> On Thu, 2017-03-16 at 19:40 -0700, Alexander Duyck wrote:
>
>> What I probably can do is go through and replace all the spots where
>> we where checking for sk_napi_id being 0, and instead replace it with
>> a check
On Thu, Mar 16, 2017 at 7:57 PM, Eric Dumazet wrote:
> On Thu, 2017-03-16 at 19:40 -0700, Alexander Duyck wrote:
>
>> What I probably can do is go through and replace all the spots where
>> we where checking for sk_napi_id being 0, and instead replace it with
>> a check against NR_CPUS.
>
> This
On Thu, 2017-03-16 at 19:40 -0700, Alexander Duyck wrote:
> I don't know. My concern here is about the cost of going through all
> that code just for something that we know shouldn't be valid. If
> nothing else I might update sk_can_busy_loop so that it doesn't try
> busy looping on a
On Thu, 2017-03-16 at 19:40 -0700, Alexander Duyck wrote:
> I don't know. My concern here is about the cost of going through all
> that code just for something that we know shouldn't be valid. If
> nothing else I might update sk_can_busy_loop so that it doesn't try
> busy looping on a
On Thu, Mar 16, 2017 at 3:50 PM, Eric Dumazet wrote:
> On Thu, 2017-03-16 at 15:33 -0700, Alexander Duyck wrote:
>> On Thu, Mar 16, 2017 at 3:05 PM, Eric Dumazet wrote:
>
>> > It is not clear why this patch is needed .
>> >
>> > What you describe
On Thu, Mar 16, 2017 at 3:50 PM, Eric Dumazet wrote:
> On Thu, 2017-03-16 at 15:33 -0700, Alexander Duyck wrote:
>> On Thu, Mar 16, 2017 at 3:05 PM, Eric Dumazet wrote:
>
>> > It is not clear why this patch is needed .
>> >
>> > What you describe here is the case we might receive packets for a
On Thu, 2017-03-16 at 15:33 -0700, Alexander Duyck wrote:
> On Thu, Mar 16, 2017 at 3:05 PM, Eric Dumazet wrote:
> > It is not clear why this patch is needed .
> >
> > What you describe here is the case we might receive packets for a socket
> > coming from different
On Thu, 2017-03-16 at 15:33 -0700, Alexander Duyck wrote:
> On Thu, Mar 16, 2017 at 3:05 PM, Eric Dumazet wrote:
> > It is not clear why this patch is needed .
> >
> > What you describe here is the case we might receive packets for a socket
> > coming from different interfaces ?
> >
> > If
On Thu, Mar 16, 2017 at 3:05 PM, Eric Dumazet wrote:
> On Thu, 2017-03-16 at 11:32 -0700, Alexander Duyck wrote:
>> From: Sridhar Samudrala
>>
>> Fix sk_mark_napi_id() and sk_mark_napi_id_once() to set sk_napi_id only if
>> skb->napi_id is a
On 3/16/2017 3:05 PM, Eric Dumazet wrote:
On Thu, 2017-03-16 at 11:32 -0700, Alexander Duyck wrote:
From: Sridhar Samudrala
Fix sk_mark_napi_id() and sk_mark_napi_id_once() to set sk_napi_id only if
skb->napi_id is a valid value.
This happens in loopback paths
On 3/16/2017 3:05 PM, Eric Dumazet wrote:
On Thu, 2017-03-16 at 11:32 -0700, Alexander Duyck wrote:
From: Sridhar Samudrala
Fix sk_mark_napi_id() and sk_mark_napi_id_once() to set sk_napi_id only if
skb->napi_id is a valid value.
This happens in loopback paths where skb->napi_id is not
On Thu, Mar 16, 2017 at 3:05 PM, Eric Dumazet wrote:
> On Thu, 2017-03-16 at 11:32 -0700, Alexander Duyck wrote:
>> From: Sridhar Samudrala
>>
>> Fix sk_mark_napi_id() and sk_mark_napi_id_once() to set sk_napi_id only if
>> skb->napi_id is a valid value.
>>
>> This happens in loopback paths
On Thu, 2017-03-16 at 11:32 -0700, Alexander Duyck wrote:
> From: Sridhar Samudrala
>
> Fix sk_mark_napi_id() and sk_mark_napi_id_once() to set sk_napi_id only if
> skb->napi_id is a valid value.
>
> This happens in loopback paths where skb->napi_id is not updated
On Thu, 2017-03-16 at 11:32 -0700, Alexander Duyck wrote:
> From: Sridhar Samudrala
>
> Fix sk_mark_napi_id() and sk_mark_napi_id_once() to set sk_napi_id only if
> skb->napi_id is a valid value.
>
> This happens in loopback paths where skb->napi_id is not updated in
> rx path and holds
From: Sridhar Samudrala
Fix sk_mark_napi_id() and sk_mark_napi_id_once() to set sk_napi_id only if
skb->napi_id is a valid value.
This happens in loopback paths where skb->napi_id is not updated in
rx path and holds sender_cpu that is set in xmit path.
From: Sridhar Samudrala
Fix sk_mark_napi_id() and sk_mark_napi_id_once() to set sk_napi_id only if
skb->napi_id is a valid value.
This happens in loopback paths where skb->napi_id is not updated in
rx path and holds sender_cpu that is set in xmit path.
Signed-off-by: Sridhar Samudrala
18 matches
Mail list logo