mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 16:12:59 +02:00
ixgbe: spelling corrections
Correct spelling as flagged by codespell. Signed-off-by: Simon Horman <horms@kernel.org> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
This commit is contained in:
parent
1a3ebc59f7
commit
b91c0e4d63
|
|
@ -45,7 +45,7 @@ static void ixgbe_set_pcie_completion_timeout(struct ixgbe_hw *hw)
|
|||
goto out;
|
||||
|
||||
/*
|
||||
* if capababilities version is type 1 we can write the
|
||||
* if capabilities version is type 1 we can write the
|
||||
* timeout of 10ms to 250ms through the GCR register
|
||||
*/
|
||||
if (!(gcr & IXGBE_GCR_CAP_VER2)) {
|
||||
|
|
@ -751,7 +751,7 @@ static int ixgbe_reset_hw_82598(struct ixgbe_hw *hw)
|
|||
/*
|
||||
* Store the original AUTOC value if it has not been
|
||||
* stored off yet. Otherwise restore the stored original
|
||||
* AUTOC value since the reset operation sets back to deaults.
|
||||
* AUTOC value since the reset operation sets back to defaults.
|
||||
*/
|
||||
autoc = IXGBE_READ_REG(hw, IXGBE_AUTOC);
|
||||
if (hw->mac.orig_link_settings_stored == false) {
|
||||
|
|
|
|||
|
|
@ -244,7 +244,7 @@ int ixgbe_setup_fc_generic(struct ixgbe_hw *hw)
|
|||
*/
|
||||
if (hw->phy.media_type == ixgbe_media_type_backplane) {
|
||||
/* Need the SW/FW semaphore around AUTOC writes if 82599 and
|
||||
* LESM is on, likewise reset_pipeline requries the lock as
|
||||
* LESM is on, likewise reset_pipeline requires the lock as
|
||||
* it also writes AUTOC.
|
||||
*/
|
||||
ret_val = hw->mac.ops.prot_autoc_write(hw, reg_bp, locked);
|
||||
|
|
@ -301,7 +301,7 @@ int ixgbe_start_hw_generic(struct ixgbe_hw *hw)
|
|||
return ret_val;
|
||||
}
|
||||
|
||||
/* Cashe bit indicating need for crosstalk fix */
|
||||
/* Cache bit indicating need for crosstalk fix */
|
||||
switch (hw->mac.type) {
|
||||
case ixgbe_mac_82599EB:
|
||||
case ixgbe_mac_X550EM_x:
|
||||
|
|
|
|||
|
|
@ -744,7 +744,7 @@ void ixgbe_free_fcoe_ddp_resources(struct ixgbe_adapter *adapter)
|
|||
* ixgbe_setup_fcoe_ddp_resources - setup all fcoe ddp context resources
|
||||
* @adapter: ixgbe adapter
|
||||
*
|
||||
* Sets up ddp context resouces
|
||||
* Sets up ddp context resources
|
||||
*
|
||||
* Returns : 0 indicates success or -EINVAL on failure
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -891,7 +891,7 @@ static int ixgbe_alloc_q_vector(struct ixgbe_adapter *adapter,
|
|||
q_vector->rx.itr = IXGBE_ITR_ADAPTIVE_MAX_USECS |
|
||||
IXGBE_ITR_ADAPTIVE_LATENCY;
|
||||
|
||||
/* intialize ITR */
|
||||
/* initialize ITR */
|
||||
if (txr_count && !rxr_count) {
|
||||
/* tx only vector */
|
||||
if (adapter->tx_itr_setting == 1)
|
||||
|
|
|
|||
|
|
@ -2371,7 +2371,7 @@ static struct sk_buff *ixgbe_build_skb(struct ixgbe_ring *rx_ring,
|
|||
struct sk_buff *skb;
|
||||
|
||||
/* Prefetch first cache line of first page. If xdp->data_meta
|
||||
* is unused, this points extactly as xdp->data, otherwise we
|
||||
* is unused, this points exactly as xdp->data, otherwise we
|
||||
* likely have a consumer accessing first few bytes of meta
|
||||
* data, and then actual data.
|
||||
*/
|
||||
|
|
@ -2494,7 +2494,7 @@ static void ixgbe_rx_buffer_flip(struct ixgbe_ring *rx_ring,
|
|||
* This function provides a "bounce buffer" approach to Rx interrupt
|
||||
* processing. The advantage to this is that on systems that have
|
||||
* expensive overhead for IOMMU access this provides a means of avoiding
|
||||
* it by maintaining the mapping of the page to the syste.
|
||||
* it by maintaining the mapping of the page to the system.
|
||||
*
|
||||
* Returns amount of work completed
|
||||
**/
|
||||
|
|
@ -5063,7 +5063,7 @@ static void ixgbe_scrub_vfta(struct ixgbe_adapter *adapter, u32 vfta_offset)
|
|||
/* pull VLAN ID from VLVF */
|
||||
vid = vlvf & VLAN_VID_MASK;
|
||||
|
||||
/* only concern outselves with a certain range */
|
||||
/* only concern ourselves with a certain range */
|
||||
if (vid < vid_start || vid >= vid_end)
|
||||
continue;
|
||||
|
||||
|
|
@ -11289,7 +11289,7 @@ void ixgbe_txrx_ring_enable(struct ixgbe_adapter *adapter, int ring)
|
|||
* ixgbe_enumerate_functions - Get the number of ports this device has
|
||||
* @adapter: adapter structure
|
||||
*
|
||||
* This function enumerates the phsyical functions co-located on a single slot,
|
||||
* This function enumerates the physical functions co-located on a single slot,
|
||||
* in order to determine how many ports a device has. This is most useful in
|
||||
* determining the required GT/s of PCIe bandwidth necessary for optimal
|
||||
* performance.
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@
|
|||
#define IXGBE_VT_MSGTYPE_CTS 0x20000000 /* Indicates that VF is still
|
||||
clear to send requests */
|
||||
#define IXGBE_VT_MSGINFO_SHIFT 16
|
||||
/* bits 23:16 are used for exra info for certain messages */
|
||||
/* bits 23:16 are used for extra info for certain messages */
|
||||
#define IXGBE_VT_MSGINFO_MASK (0xFF << IXGBE_VT_MSGINFO_SHIFT)
|
||||
|
||||
/* definitions to support mailbox API version negotiation */
|
||||
|
|
|
|||
|
|
@ -1323,7 +1323,7 @@ int ixgbe_check_phy_link_tnx(struct ixgbe_hw *hw, ixgbe_link_speed *speed,
|
|||
* @hw: pointer to hardware structure
|
||||
*
|
||||
* Restart autonegotiation and PHY and waits for completion.
|
||||
* This function always returns success, this is nessary since
|
||||
* This function always returns success, this is necessary since
|
||||
* it is called via a function pointer that could call other
|
||||
* functions that could return an error.
|
||||
**/
|
||||
|
|
|
|||
|
|
@ -706,7 +706,7 @@ static inline void ixgbe_vf_reset_event(struct ixgbe_adapter *adapter, u32 vf)
|
|||
u32 reg_val;
|
||||
u32 queue;
|
||||
|
||||
/* remove VLAN filters beloning to this VF */
|
||||
/* remove VLAN filters belonging to this VF */
|
||||
ixgbe_clear_vf_vlans(adapter, vf);
|
||||
|
||||
/* add back PF assigned VLAN or VLAN 0 */
|
||||
|
|
|
|||
|
|
@ -238,7 +238,7 @@ struct ixgbe_thermal_sensor_data {
|
|||
#define NVM_VER_INVALID 0xFFFF
|
||||
#define NVM_ETK_VALID 0x8000
|
||||
#define NVM_INVALID_PTR 0xFFFF
|
||||
#define NVM_VER_SIZE 32 /* version sting size */
|
||||
#define NVM_VER_SIZE 32 /* version string size */
|
||||
|
||||
struct ixgbe_nvm_version {
|
||||
u32 etk_id;
|
||||
|
|
@ -2024,7 +2024,7 @@ enum {
|
|||
/* EEPROM Addressing bits based on type (0-small, 1-large) */
|
||||
#define IXGBE_EEC_ADDR_SIZE 0x00000400
|
||||
#define IXGBE_EEC_SIZE 0x00007800 /* EEPROM Size */
|
||||
#define IXGBE_EERD_MAX_ADDR 0x00003FFF /* EERD alows 14 bits for addr. */
|
||||
#define IXGBE_EERD_MAX_ADDR 0x00003FFF /* EERD allows 14 bits for addr. */
|
||||
|
||||
#define IXGBE_EEC_SIZE_SHIFT 11
|
||||
#define IXGBE_EEPROM_WORD_SIZE_SHIFT 6
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ int ixgbe_get_invariants_X540(struct ixgbe_hw *hw)
|
|||
}
|
||||
|
||||
/**
|
||||
* ixgbe_setup_mac_link_X540 - Set the auto advertised capabilitires
|
||||
* ixgbe_setup_mac_link_X540 - Set the auto advertised capabilities
|
||||
* @hw: pointer to hardware structure
|
||||
* @speed: new link speed
|
||||
* @autoneg_wait_to_complete: true when waiting for completion is needed
|
||||
|
|
|
|||
|
|
@ -3316,7 +3316,7 @@ static enum ixgbe_media_type ixgbe_get_media_type_X550em(struct ixgbe_hw *hw)
|
|||
return media_type;
|
||||
}
|
||||
|
||||
/** ixgbe_init_ext_t_x550em - Start (unstall) the external Base T PHY.
|
||||
/** ixgbe_init_ext_t_x550em - Start (uninstall) the external Base T PHY.
|
||||
** @hw: pointer to hardware structure
|
||||
**/
|
||||
static int ixgbe_init_ext_t_x550em(struct ixgbe_hw *hw)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user