linux/drivers/net/ethernet/intel
Jacob Keller b74f571f59 i40e/i40evf: organize and re-number feature flags
Now that we've reduced the number of flags, organize similar flags
together and re-number them accordingly.

Since we don't yet have more than 32 flags, we'll use a u32 for both the
hw_features and flag field. Should we gain more flags in the future, we
may need to convert to a u64 or separate flags out into two fields.

One alternative approach considered, but not implemented here, was to
use an enumeration for the flag variables, and create a macro
I40E_FLAG() which used string concatenation to generate BIT_ULL values.
This has the advantage of making the actual bit values compile-time
dynamic so that we do not need to worry about matching the order to the
bit value. However, this does produce a high level of code churn, and
makes it more difficult to read a dumped flags value when debugging.

Change-ID: I8653fff69453cd547d6fe98d29dfa9d8710387d1
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
2017-10-06 08:11:32 -07:00
..
e1000 networking: introduce and use skb_put_data() 2017-06-16 11:48:37 -04:00
e1000e drivers: net: e1000e: use setup_timer() helper. 2017-09-21 11:44:41 -07:00
fm10k fm10k: fix mis-ordered parameters in declaration for .ndo_set_vf_bw 2017-10-03 09:00:04 -07:00
i40e i40e/i40evf: organize and re-number feature flags 2017-10-06 08:11:32 -07:00
i40evf i40e/i40evf: organize and re-number feature flags 2017-10-06 08:11:32 -07:00
igb igb: support BCM54616 PHY 2017-08-08 18:09:12 -07:00
igbvf igbvf: convert msleep to mdelay in atomic context 2017-08-08 18:08:00 -07:00
ixgb drivers: net: ixgb: use setup_timer() helper. 2017-09-21 11:44:40 -07:00
ixgbe bpf, ixgbe: add meta data support 2017-09-26 13:36:44 -07:00
ixgbevf ixgbe: Initialize 64-bit stats seqcounts 2017-08-01 20:06:07 -07:00
e100.c e100: Cocci spatch "pool_zalloc-simple" 2017-09-21 15:26:59 -07:00
Kconfig
Makefile