From: Xiao Wang Date: Sun, 25 Sep 2016 08:59:50 +0000 (+0800) Subject: net/ixgbe/base: configure DMA coalescing for 10Mb X-Git-Tag: spdx-start~5794 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=1caa5909aecaa9bfc65bff4bd98109d1c80f6ef9;p=dpdk.git net/ixgbe/base: configure DMA coalescing for 10Mb Provide a DMA coalescing configuration for 10Mb link speed. Signed-off-by: Xiao Wang Acked-by: Wenzhuo Lu --- diff --git a/drivers/net/ixgbe/base/ixgbe_x550.c b/drivers/net/ixgbe/base/ixgbe_x550.c index 2cd5730f15..08886a701c 100644 --- a/drivers/net/ixgbe/base/ixgbe_x550.c +++ b/drivers/net/ixgbe/base/ixgbe_x550.c @@ -768,6 +768,7 @@ s32 ixgbe_dmac_config_tcs_X550(struct ixgbe_hw *hw) /* Configure DMA coalescing enabled */ switch (hw->mac.dmac_config.link_speed) { + case IXGBE_LINK_SPEED_10_FULL: case IXGBE_LINK_SPEED_100_FULL: pb_headroom = IXGBE_DMACRXT_100M; break;