net/bnxt: disable end of packet padding for Rx
authorLance Richardson <lance.richardson@broadcom.com>
Thu, 3 Dec 2020 14:16:21 +0000 (09:16 -0500)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 8 Jan 2021 15:03:04 +0000 (16:03 +0100)
commitb4938fad44912967636b96990ddba01ef6bc3064
tree4f63ac8fd5b389be1b4b89907df8e0a146236555
parentb9f0ad21f856b1d577f3369421559582639e53cf
net/bnxt: disable end of packet padding for Rx

Testing has shown that the packet forwarding rate for packet sizes
that are not a multiple of the cache line size is reduced when the
DMA size is padded to a multiple of the cache line size. Improve
performance for these packet sizes by disabling EOP padding.

Fixes: f4253e97e7b0 ("net/bnxt: set padding flags in Rx descriptor")
Cc: stable@dpdk.org
Signed-off-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
drivers/net/bnxt/bnxt_rxr.c