pci: access to specific bits via sysfs
authorHelin Zhang <helin.zhang@intel.com>
Thu, 5 Jun 2014 05:09:09 +0000 (13:09 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Tue, 17 Jun 2014 16:21:09 +0000 (18:21 +0200)
commiteeae544a51f56e43f0b885e4884e58376175dc78
tree33d6a7ce39b03081ff7fe23b620d1a3c1cbf5a9d
parentc2bebe5f5a6dacb1e82047032835276002c5a793
pci: access to specific bits via sysfs

Enabling 'Extended Tag' and resetting 'Max Read Request Size' in PCI
config space have big impacts to i40e performance. They cannot be
changed on some BIOS implementations, though can on others. Two sys
files of 'extended_tag' and 'max_read_request_size' are added to
support changing them by 'echo' in user space.

Signed-off-by: Helin Zhang <helin.zhang@intel.com>
Signed-off-by: Jing Chen <jing.d.chen@intel.com>
Acked-by: Cunming Liang <cunming.liang@intel.com>
Acked-by: Jijiang Liu <jijiang.liu@intel.com>
Acked-by: Jingjing Wu <jingjing.wu@intel.com>
Acked-by: Heqing Zhu <heqing.zhu@intel.com>
Tested-by: Waterman Cao <waterman.cao@intel.com>
config/common_linuxapp
lib/librte_eal/linuxapp/eal/eal_pci.c
lib/librte_eal/linuxapp/igb_uio/igb_uio.c