OSDN Git Service

i40e/i40evf: enable prefetch of Tx descriptors during cleanup
authorJesse Brandeburg <jesse.brandeburg@intel.com>
Fri, 27 Feb 2015 09:15:31 +0000 (09:15 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 7 Mar 2015 15:01:05 +0000 (07:01 -0800)
commit016890b99482745646de091d795384efd83f5d20
treeed5537eb7fb4ec0b59491ae48fca1c92e0a526ae
parentd9e894ee8a06b0324b9d9f951c0276a7409b8518
i40e/i40evf: enable prefetch of Tx descriptors during cleanup

Performance can be improved a bit by imitating ixgbe and using
prefetch to get us the next Tx descriptor.

Change-ID: Ice7ffd4cd0ce87c35295059bdb7972a7f53723aa
Signed-off-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_txrx.c
drivers/net/ethernet/intel/i40evf/i40e_txrx.c