[dpdk-dev] [PATCH] ixgbe: add counter to track sw tx packets

Stephen Hemminger stephen at networkplumber.org
Tue Aug 29 20:42:54 CEST 2017


On Tue, 29 Aug 2017 11:50:56 -0400
David Harton <dharton at cisco.com> wrote:

> +	if (n < (IXGBEVF_NB_XSTATS + IXGBE_NB_SW_STATS))
> +		return (IXGBEVF_NB_XSTATS + IXGBE_NB_SW_STATS);

Please don't use BSD style.
Return does not need parenthesis.


More information about the dev mailing list