[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170526.144241.1366515927726150516.davem@davemloft.net>
Date: Fri, 26 May 2017 14:42:41 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: felix.manlunas@...ium.com
Cc: netdev@...r.kernel.org, raghu.vatsavayi@...ium.com,
derek.chickles@...ium.com, satananda.burla@...ium.com,
prasad.kanneganti@...ium.com
Subject: Re: [PATCH net-next] liquidio: fix inaccurate count of
napi-processed rx packets reported to Octeon
From: Felix Manlunas <felix.manlunas@...ium.com>
Date: Thu, 25 May 2017 10:54:29 -0700
> From: Prasad Kanneganti <prasad.kanneganti@...ium.com>
>
> lio_enable_irq (called by napi poll) is reporting to Octeon an inaccurate
> count of processed rx packets causing Octeon to eventually stop forwarding
> packets to the host. Fix it by using this formula for an accurate count:
>
> processed rx packets = droq->pkt_count - droq->pkts_pending
>
> Also increase SOFT_COMMAND_BUFFER_SIZE to match what the firmware expects.
>
> Signed-off-by: Prasad Kanneganti <prasad.kanneganti@...ium.com>
> Signed-off-by: Felix Manlunas <felix.manlunas@...ium.com>
Applied.
Powered by blists - more mailing lists