]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ixgbe: spelling corrections
authorSimon Horman <horms@kernel.org>
Sat, 21 Jun 2025 11:50:40 +0000 (12:50 +0100)
committerTony Nguyen <anthony.l.nguyen@intel.com>
Thu, 3 Jul 2025 16:39:04 +0000 (09:39 -0700)
Correct spelling as flagged by codespell.

Signed-off-by: Simon Horman <horms@kernel.org>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_82598.c
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
drivers/net/ethernet/intel/ixgbe/ixgbe_fcoe.c
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_mbx.h
drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
drivers/net/ethernet/intel/ixgbe/ixgbe_x540.c
drivers/net/ethernet/intel/ixgbe/ixgbe_x550.c

index 444da982593f61e153eee4388952baf7b413927c..406c15f58034c34b651e0fb6f1a1a6038813111d 100644 (file)
@@ -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 @@ mac_reset_top:
        /*
         * 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) {
index 5784d5d1896e009515c4e3fc51067db49e3581cb..4ff19426ab74280ef3da50343d9e058942394b72 100644 (file)
@@ -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:
index 7dcf6ecd157b180721ad5ea104fab60b59d880ae..011fda9c61939c807c81a6b701091fc49bdcb8b1 100644 (file)
@@ -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
  */
index 54d75cf94cc1172ac1b917b9971cdeaf9ddcd733..170a29d162c65a2d63d957845bc2bc317c8ca49e 100644 (file)
@@ -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)
index 4f2d7f6e3faa99d848ee4ffb2f9705ab01f20e54..6122a0abb41f544b4e13e97aef1be5be4966a606 100644 (file)
@@ -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.
index bf65e82b4c611e449e2ce5e0266228f39639cf08..4af149b63a39fe9dc20e3e199a64479838c8810f 100644 (file)
@@ -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 */
index 2d54828bdfbbcc394503098905b0b25b444e857f..2449e4cf2679ddf3277f4ada7619303eb618d393 100644 (file)
@@ -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.
  **/
index bd9a054d7d94cb7a0b3cc1c68f33a674df16e02d..32ac1e020d915d1e5015937e3a2d84110cc548b3 100644 (file)
@@ -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 */
index 80dfc94c89f7c425cf300dea3497b23a6451d3ca..36577091cd9ee312f96f173032a284d3ca140c1d 100644 (file)
@@ -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
index f1ab95aa8c83b2c0fd32115ec1e6d7182252aa84..c2353aed012041ad883bc02256488e33c954d1e0 100644 (file)
@@ -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
index a8263f59ebba023e5d16bb9b3ca9e586490fbfa9..bfa647086c708877866b2007e1641e385188e86f 100644 (file)
@@ -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)