]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fm10k: Align Rx buffers to 512B blocks
authorAlexander Duyck <aduyck@mirantis.com>
Fri, 15 Apr 2016 17:00:46 +0000 (13:00 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 06:04:13 +0000 (22:04 -0800)
commitdb4c460589964ec14a876a5af6a0de01b2f8aed8
tree57d3b866f51c8eb8a4477af483847c189b1a9d82
parent8704a514abcebee5b51111ac28b50cbe4fe73fdf
fm10k: Align Rx buffers to 512B blocks

While reviewing the i40e driver changes to support page based receive I
realized that I had overlooked the fact that the fm10k hardware required a
512 byte alignment for Rx buffers.  This patch is meant to address that by
changing the alignment for Rx buffers to 512 bytes instead of allowing it
to be L1 cache aligned.

Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Orabug: 25394529
(cherry picked from commit fb5677aa26a2ae2c94ffb889ab6802a42bf54b0b)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
drivers/net/ethernet/intel/fm10k/fm10k_main.c