]> git.baikalelectronics.ru Git - kernel.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)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 29 Jun 2016 16:46:17 +0000 (09:46 -0700)
commit42d502a26447faf2eb7841255d227df91ab3c7a7
treef0a228f93148b8bd7bbfab44051f3ca3033a105c
parent6e8e9b334774f71b6d909a759b1a30796fb2e994
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>
drivers/net/ethernet/intel/fm10k/fm10k_main.c