diff options
author | Jacob Keller <[email protected]> | 2017-09-07 15:19:12 -0700 |
---|---|---|
committer | Jeff Kirsher <[email protected]> | 2017-10-09 12:37:28 -0700 |
commit | b48be9978e4b21b28b7349f57574dae21378ddd5 (patch) | |
tree | 5bca6d9fea556bda780510c88bdc5e58b71f998a /net/switchdev/switchdev.c | |
parent | 2e997d8b12d2933d7640bb3a43af8eb6857a73af (diff) |
i40e: fix flags declaration
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.
This was overlooked in the previous commit 2781de2134c4 ("i40e/i40evf:
organize and re-number feature flags"), where the feature flag was not
converted form u64 to u32.
Signed-off-by: Jacob Keller <[email protected]>
Reviewed-by: Mitch Williams <[email protected]>
Tested-by: Andrew Bowers <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions