net/ixgbe/base: use 8 bits for PCI functions
authorBeilei Xing <beilei.xing@intel.com>
Thu, 23 Jun 2016 07:22:32 +0000 (15:22 +0800)
committerBruce Richardson <bruce.richardson@intel.com>
Mon, 27 Jun 2016 14:17:53 +0000 (16:17 +0200)
commit3c5c9e096b83d53b050bc3ecf98673d00435b039
tree47a3eb572779fa510bda09a231f749058e0c2ba1
parent72ceac0fcab2baab8f4e3ce40fd2cb84aaefafc3
net/ixgbe/base: use 8 bits for PCI functions

Since PCIe standard defines maximum of 8 functions per device lan_id
is a value 0..7. Because of that, lan_id don't need to be u16.

Signed-off-by: Beilei Xing <beilei.xing@intel.com>
drivers/net/ixgbe/base/ixgbe_common.c
drivers/net/ixgbe/base/ixgbe_type.h