]> Pileus Git - ~andy/linux/commit
ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63
authorethan.zhao <ethan.zhao@oracle.com>
Fri, 17 Jan 2014 03:41:04 +0000 (19:41 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 18 Jan 2014 02:37:31 +0000 (18:37 -0800)
commitdcc23e3ab6e86e49a234e9def1e001722fdb48f4
treebe8d2afc49de2905d501df851427f254db0af590
parent6c7e7610ff6888ea15a901fbcb30c5d461816b34
ixgbe: define IXGBE_MAX_VFS_DRV_LIMIT macro and cleanup const 63

Because ixgbe driver limit the max number of VF
 functions could be enabled to 63, so define one macro IXGBE_MAX_VFS_DRV_LIMIT
 and cleanup the const 63 in code.

v3: revised for net-next tree.

Signed-off-by: Ethan Zhao <ethan.kernel@gmail.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.h