diff options
author | Jacob Keller <jacob.e.keller@intel.com> | 2017-04-19 16:25:50 +0300 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-04-30 14:13:49 +0300 |
commit | 27826fd5d357d38b5cf834f9adcc70e6c2254d69 (patch) | |
tree | 58aae32ca9e79e5a0b204110bdb5d5cf366e8000 /drivers/net/ethernet/intel/i40e/i40e.h | |
parent | 1b48437028603ec51d5a1eb276c941c866375a3e (diff) | |
download | linux-27826fd5d357d38b5cf834f9adcc70e6c2254d69.tar.xz |
i40e: rename index to port to avoid confusion
The .index field of i40e_udp_port_config represents the udp port number.
Rename this variable to port so that it is more obvious.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/i40e/i40e.h')
-rw-r--r-- | drivers/net/ethernet/intel/i40e/i40e.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/i40e/i40e.h b/drivers/net/ethernet/intel/i40e/i40e.h index 70f9458f7a01..0f22c03ec726 100644 --- a/drivers/net/ethernet/intel/i40e/i40e.h +++ b/drivers/net/ethernet/intel/i40e/i40e.h @@ -245,7 +245,7 @@ struct i40e_tc_configuration { struct i40e_udp_port_config { /* AdminQ command interface expects port number in Host byte order */ - u16 index; + u16 port; u8 type; }; |