diff options
Diffstat (limited to 'sys/dev/bxe')
-rw-r--r-- | sys/dev/bxe/bxe.c | 10 | ||||
-rw-r--r-- | sys/dev/bxe/bxe_elink.c | 12 | ||||
-rw-r--r-- | sys/dev/bxe/bxe_stats.c | 2 | ||||
-rw-r--r-- | sys/dev/bxe/bxe_stats.h | 4 | ||||
-rw-r--r-- | sys/dev/bxe/ecore_hsi.h | 30 | ||||
-rw-r--r-- | sys/dev/bxe/ecore_init.h | 2 | ||||
-rw-r--r-- | sys/dev/bxe/ecore_sp.h | 2 |
7 files changed, 31 insertions, 31 deletions
diff --git a/sys/dev/bxe/bxe.c b/sys/dev/bxe/bxe.c index 170d1579d801..3b5ab1770c90 100644 --- a/sys/dev/bxe/bxe.c +++ b/sys/dev/bxe/bxe.c @@ -2221,7 +2221,7 @@ storm_memset_eq_prod(struct bxe_softc *sc, /* * Post a slowpath command. * - * A slowpath command is used to propogate a configuration change through + * A slowpath command is used to propagate a configuration change through * the controller in a controlled manner, allowing each STORM processor and * other H/W blocks to phase in the change. The commands sent on the * slowpath are referred to as ramrods. Depending on the ramrod used the @@ -4248,7 +4248,7 @@ bxe_nic_unload(struct bxe_softc *sc, /* * Nothing to do during unload if previous bxe_nic_load() - * did not completed succesfully - all resourses are released. + * did not completed successfully - all resourses are released. */ if ((sc->state == BXE_STATE_CLOSED) || (sc->state == BXE_STATE_ERROR)) { @@ -4762,7 +4762,7 @@ bxe_dump_mbuf(struct bxe_softc *sc, * Checks to ensure the 13 bd sliding window is >= MSS for TSO. * Check that (13 total bds - 3 bds) = 10 bd window >= MSS. * The window: 3 bds are = 1 for headers BD + 2 for parse BD and last BD - * The headers comes in a seperate bd in FreeBSD so 13-3=10. + * The headers comes in a separate bd in FreeBSD so 13-3=10. * Returns: 0 if OK to send, 1 if packet needs further defragmentation */ static int @@ -7990,7 +7990,7 @@ bxe_attn_int_deasserted2(struct bxe_softc *sc, mask1 = REG_RD(sc, PXP2_REG_PXP2_INT_MASK_1); val0 = REG_RD(sc, PXP2_REG_PXP2_INT_STS_0); /* - * If the olny PXP2_EOP_ERROR_BIT is set in + * If the only PXP2_EOP_ERROR_BIT is set in * STS0 and STS1 - clear it * * probably we lose additional attentions between @@ -10627,7 +10627,7 @@ bxe_set_234_gates(struct bxe_softc *sc, (!close) ? (val | HC_CONFIG_0_REG_BLOCK_DISABLE_0) : (val & ~(uint32_t)HC_CONFIG_0_REG_BLOCK_DISABLE_0)); } else { - /* Prevent incomming interrupts in IGU */ + /* Prevent incoming interrupts in IGU */ val = REG_RD(sc, IGU_REG_BLOCK_CONFIGURATION); REG_WR(sc, IGU_REG_BLOCK_CONFIGURATION, diff --git a/sys/dev/bxe/bxe_elink.c b/sys/dev/bxe/bxe_elink.c index 0ce0433598a0..ab5bac49e05f 100644 --- a/sys/dev/bxe/bxe_elink.c +++ b/sys/dev/bxe/bxe_elink.c @@ -1294,7 +1294,7 @@ static void elink_ets_e3b0_set_credit_upper_bound_nig( * Will return the NIG ETS registers to init values.Except * credit_upper_bound. * That isn't used in this configuration (No WFQ is enabled) and will be -* configured acording to spec +* configured according to spec. *. ******************************************************************************/ static void elink_ets_e3b0_nig_disabled(const struct elink_params *params, @@ -1411,7 +1411,7 @@ static void elink_ets_e3b0_set_credit_upper_bound_pbf( * Will return the PBF ETS registers to init values.Except * credit_upper_bound. * That isn't used in this configuration (No WFQ is enabled) and will be -* configured acording to spec +* configured according to spec. *. ******************************************************************************/ static void elink_ets_e3b0_pbf_disabled(const struct elink_params *params) @@ -1469,7 +1469,7 @@ static void elink_ets_e3b0_pbf_disabled(const struct elink_params *params) } /****************************************************************************** * Description: -* E3B0 disable will return basicly the values to init values. +* E3B0 disable will return basically the values to init values. *. ******************************************************************************/ static elink_status_t elink_ets_e3b0_disabled(const struct elink_params *params, @@ -1492,7 +1492,7 @@ static elink_status_t elink_ets_e3b0_disabled(const struct elink_params *params, /****************************************************************************** * Description: -* Disable will return basicly the values to init values. +* Disable will return basically the values to init values. * ******************************************************************************/ elink_status_t elink_ets_disabled(struct elink_params *params, @@ -3762,7 +3762,7 @@ static elink_status_t elink_eee_initial_config(struct elink_params *params, { vars->eee_status |= ((uint32_t) mode) << SHMEM_EEE_SUPPORTED_SHIFT; - /* Propogate params' bits --> vars (for migration exposure) */ + /* Propagate params' bits --> vars (for migration exposure) */ if (params->eee_mode & ELINK_EEE_MODE_ENABLE_LPI) vars->eee_status |= SHMEM_EEE_LPI_REQUESTED_BIT; else @@ -14632,7 +14632,7 @@ static void elink_check_over_curr(struct elink_params *params, vars->phy_flags &= ~PHY_OVER_CURRENT_FLAG; } -/* Returns 0 if no change occured since last check; 1 otherwise. */ +/* Returns 0 if no change occurred since last check; 1 otherwise. */ static uint8_t elink_analyze_link_error(struct elink_params *params, struct elink_vars *vars, uint32_t status, uint32_t phy_flag, uint32_t link_flag, uint8_t notify) diff --git a/sys/dev/bxe/bxe_stats.c b/sys/dev/bxe/bxe_stats.c index 03e643c0b6d4..2310e8f59eee 100644 --- a/sys/dev/bxe/bxe_stats.c +++ b/sys/dev/bxe/bxe_stats.c @@ -1670,7 +1670,7 @@ bxe_stats_init(struct bxe_softc *sc) bxe_port_stats_base_init(sc); } - /* mark the end of statistics initializiation */ + /* mark the end of statistics initialization */ sc->stats_init = FALSE; } diff --git a/sys/dev/bxe/bxe_stats.h b/sys/dev/bxe/bxe_stats.h index 75f0248b5e16..a0f5792f9248 100644 --- a/sys/dev/bxe/bxe_stats.h +++ b/sys/dev/bxe/bxe_stats.h @@ -264,7 +264,7 @@ struct bxe_eth_stats { uint32_t mbuf_alloc_sge; uint32_t mbuf_alloc_tpa; - /* num. of times tx queue full occured */ + /* num. of times tx queue full occurred */ uint32_t tx_queue_full_return; }; @@ -370,7 +370,7 @@ struct bxe_eth_q_stats { uint32_t mbuf_alloc_sge; uint32_t mbuf_alloc_tpa; - /* num. of times tx queue full occured */ + /* num. of times tx queue full occurred */ uint32_t tx_queue_full_return; }; diff --git a/sys/dev/bxe/ecore_hsi.h b/sys/dev/bxe/ecore_hsi.h index 9ed0264cd8ce..d1924a741b03 100644 --- a/sys/dev/bxe/ecore_hsi.h +++ b/sys/dev/bxe/ecore_hsi.h @@ -8188,7 +8188,7 @@ union fcoe_kcqe_params struct fcoe_kcqe { uint32_t fcoe_conn_id /* Drivers connection ID (only 16 bits are used) */; - uint32_t completion_status /* 0=command completed succesfuly, 1=command failed */; + uint32_t completion_status /* 0=command completed successfully, 1=command failed */; uint32_t fcoe_conn_context_id /* Context ID of the FCoE connection */; union fcoe_kcqe_params params /* command-specific parameters */; uint16_t qe_self_seq /* Self identifying sequence number */; @@ -9464,7 +9464,7 @@ union iscsi_kcqe_params struct iscsi_kcqe { uint32_t iscsi_conn_id /* Drivers connection ID (only 16 bits are used) */; - uint32_t completion_status /* 0=command completed succesfuly, 1=command failed */; + uint32_t completion_status /* 0=command completed successfully, 1=command failed */; uint32_t iscsi_conn_context_id /* Context ID of the iSCSI connection */; union iscsi_kcqe_params params /* command-specific parameters */; #if defined(__BIG_ENDIAN) @@ -10241,7 +10241,7 @@ struct tstorm_tcp_st_context_section uint16_t mid_mac_address /* TX source MAC MID-16 */; uint16_t msb_mac_address /* TX source MAC MSB-16 */; #endif - uint32_t rightmost_received_seq /* The maximum sequence ever recieved - used for The New Patent */; + uint32_t rightmost_received_seq /* The maximum sequence ever received - used for The New Patent */; }; /* @@ -11694,7 +11694,7 @@ struct flow_control_configuration struct function_start_data { uint8_t function_mode /* the function mode */; - uint8_t allow_npar_tx_switching /* If set, inter-pf tx switching is allowed in Switch Independant function mode. (E2/E3 Only) */; + uint8_t allow_npar_tx_switching /* If set, inter-pf tx switching is allowed in Switch Independent function mode. (E2/E3 Only) */; uint16_t sd_vlan_tag /* value of Vlan in case of switch depended multi-function mode */; uint16_t vif_id /* value of VIF id in case of NIV multi-function mode */; uint8_t path_id; @@ -11712,7 +11712,7 @@ struct function_start_data uint8_t sd_accept_mf_clss_fail /* If set, accept packets that fail Multi-Function Switch-Dependent classification. Only one VNIC on the port can have this set to 1 */; uint8_t sd_accept_mf_clss_fail_match_ethtype /* If set, accepted packets must match the ethertype of sd_clss_fail_ethtype */; uint16_t sd_accept_mf_clss_fail_ethtype /* Ethertype to match in the case of sd_accept_mf_clss_fail_match_ethtype */; - uint16_t sd_vlan_eth_type /* Value of ether-type to use in the case of switch dependant multi-function mode. Setting this to 0 uses the default value of 0x8100 */; + uint16_t sd_vlan_eth_type /* Value of ether-type to use in the case of switch dependent multi-function mode. Setting this to 0 uses the default value of 0x8100 */; uint8_t sd_vlan_force_pri_flg /* If set, the SD Vlan Priority is forced to the value of the sd_vlan_pri_force_val field regardless of the DCB or inband VLAN priority. */; uint8_t sd_vlan_force_pri_val /* value to force SD Vlan Priority if sd_vlan_pri_force_flg is set */; uint8_t c2s_pri_tt_valid /* When set, c2s_pri_trans_table is valid */; @@ -11754,7 +11754,7 @@ struct function_update_data uint8_t sd_vlan_eth_type_change_flg /* If set, the SD VLAN Ethertype is changed according to the field sd_vlan_eth_type */; uint8_t reserved1; uint16_t sd_vlan_tag /* New value of Outer Vlan in case of switch depended multi-function mode */; - uint16_t sd_vlan_eth_type /* New value of ether-type in the case of switch dependant multi-function mode. Setting this to 0 restores the default value of 0x8100 */; + uint16_t sd_vlan_eth_type /* New value of ether-type in the case of switch dependent multi-function mode. Setting this to 0 restores the default value of 0x8100 */; uint16_t reserved0; uint32_t reserved2; }; @@ -12564,7 +12564,7 @@ struct ustorm_toe_prefetched_bd uint32_t __addr_hi /* receive payload base address - Single continuous buffer (page) pointer */; #if defined(__BIG_ENDIAN) uint16_t flags; - #define __USTORM_TOE_PREFETCHED_BD_START (0x1<<0) /* BitField flagsbd command flags this bd is the begining of an application buffer */ + #define __USTORM_TOE_PREFETCHED_BD_START (0x1<<0) /* BitField flagsbd command flags this bd is the beginning of an application buffer */ #define __USTORM_TOE_PREFETCHED_BD_START_SHIFT 0 #define __USTORM_TOE_PREFETCHED_BD_END (0x1<<1) /* BitField flagsbd command flags this bd is the end of an application buffer */ #define __USTORM_TOE_PREFETCHED_BD_END_SHIFT 1 @@ -12578,7 +12578,7 @@ struct ustorm_toe_prefetched_bd #elif defined(__LITTLE_ENDIAN) uint16_t __buf_un_used /* Number of bytes left for placement in the pre fetched application/grq bd 0 size for buffer is not valid */; uint16_t flags; - #define __USTORM_TOE_PREFETCHED_BD_START (0x1<<0) /* BitField flagsbd command flags this bd is the begining of an application buffer */ + #define __USTORM_TOE_PREFETCHED_BD_START (0x1<<0) /* BitField flagsbd command flags this bd is the beginning of an application buffer */ #define __USTORM_TOE_PREFETCHED_BD_START_SHIFT 0 #define __USTORM_TOE_PREFETCHED_BD_END (0x1<<1) /* BitField flagsbd command flags this bd is the end of an application buffer */ #define __USTORM_TOE_PREFETCHED_BD_END_SHIFT 1 @@ -12609,9 +12609,9 @@ struct ustorm_toe_st_context #define USTORM_TOE_ST_CONTEXT_RESERVED0 (0x1F<<3) /* BitField flags2various state flags */ #define USTORM_TOE_ST_CONTEXT_RESERVED0_SHIFT 3 uint8_t __indirection_shift /* Offset in bits of the cupid of this connection on the 64Bits fetched from internal memoy */; - uint16_t indirection_ram_offset /* address offset in internal memory from the begining of the table consisting the cpu id of this connection (Only 12 bits are used) */; + uint16_t indirection_ram_offset /* address offset in internal memory from the beginning of the table consisting the cpu id of this connection (Only 12 bits are used) */; #elif defined(__LITTLE_ENDIAN) - uint16_t indirection_ram_offset /* address offset in internal memory from the begining of the table consisting the cpu id of this connection (Only 12 bits are used) */; + uint16_t indirection_ram_offset /* address offset in internal memory from the beginning of the table consisting the cpu id of this connection (Only 12 bits are used) */; uint8_t __indirection_shift /* Offset in bits of the cupid of this connection on the 64Bits fetched from internal memoy */; uint8_t flags2; #define USTORM_TOE_ST_CONTEXT_IGNORE_GRQ_PUSH (0x1<<0) /* BitField flags2various state flags we will ignore grq push unless it is ping pong test */ @@ -12637,8 +12637,8 @@ struct ustorm_toe_st_context uint32_t initial_rcv_wnd /* the maximal advertized window */; uint32_t __bytes_cons /* the last rq_available_bytes producer that was read from host - used to know how many bytes were added */; uint32_t __prev_consumed_grq_bytes /* the last rq_available_bytes producer that was read from host - used to know how many bytes were added */; - uint32_t prev_rcv_win_right_edge /* siquence of the last bytes that can be recieved - used to know how many bytes were added */; - uint32_t rcv_nxt /* Receive sequence: next expected - of the right most recieved packet */; + uint32_t prev_rcv_win_right_edge /* siquence of the last bytes that can be received - used to know how many bytes were added */; + uint32_t rcv_nxt /* Receive sequence: next expected - of the right most received packet */; struct ustorm_toe_prefetched_isle_bd __isle_bd /* prefetched bd for the isle */; struct ustorm_toe_ring_params pen_ring_params /* peninsula ring params */; struct ustorm_toe_prefetched_bd __pen_bd_0 /* peninsula prefetched bd for the peninsula */; @@ -12839,7 +12839,7 @@ struct toe_rx_bd uint32_t addr_hi /* receive payload base address - Single continuous buffer (page) pointer */; #if defined(__BIG_ENDIAN) uint16_t flags; - #define TOE_RX_BD_START (0x1<<0) /* BitField flagsbd command flags this bd is the begining of an application buffer */ + #define TOE_RX_BD_START (0x1<<0) /* BitField flagsbd command flags this bd is the beginning of an application buffer */ #define TOE_RX_BD_START_SHIFT 0 #define TOE_RX_BD_END (0x1<<1) /* BitField flagsbd command flags this bd is the end of an application buffer */ #define TOE_RX_BD_END_SHIFT 1 @@ -12853,7 +12853,7 @@ struct toe_rx_bd #elif defined(__LITTLE_ENDIAN) uint16_t size /* Size of the buffer pointed by the BD */; uint16_t flags; - #define TOE_RX_BD_START (0x1<<0) /* BitField flagsbd command flags this bd is the begining of an application buffer */ + #define TOE_RX_BD_START (0x1<<0) /* BitField flagsbd command flags this bd is the beginning of an application buffer */ #define TOE_RX_BD_START_SHIFT 0 #define TOE_RX_BD_END (0x1<<1) /* BitField flagsbd command flags this bd is the end of an application buffer */ #define TOE_RX_BD_END_SHIFT 1 @@ -12935,7 +12935,7 @@ struct toe_rx_cqe */ struct toe_rx_db_data { - uint32_t rcv_win_right_edge /* siquence of the last bytes that can be recieved */; + uint32_t rcv_win_right_edge /* siquence of the last bytes that can be received */; uint32_t bytes_prod /* cyclic counter of posted bytes */; #if defined(__BIG_ENDIAN) uint8_t reserved1 /* reserved */; diff --git a/sys/dev/bxe/ecore_init.h b/sys/dev/bxe/ecore_init.h index 8ce06abdbf88..05c5bf761239 100644 --- a/sys/dev/bxe/ecore_init.h +++ b/sys/dev/bxe/ecore_init.h @@ -321,7 +321,7 @@ static inline void ecore_dcb_config_qm(struct bxe_softc *sc, enum cos_mode mode, /* - * congestion managment port init api description + * congestion management port init api description * the api works as follows: * the driver should pass the cmng_init_input struct, the port_init function * will prepare the required internal ram structure which will be passed back diff --git a/sys/dev/bxe/ecore_sp.h b/sys/dev/bxe/ecore_sp.h index 15403d7b9531..10d6c08fbcf9 100644 --- a/sys/dev/bxe/ecore_sp.h +++ b/sys/dev/bxe/ecore_sp.h @@ -1949,7 +1949,7 @@ void ecore_init_mcast_obj(struct bxe_softc *sc, * the current command will be enqueued to the tail of the * pending commands list. * - * Return: 0 is operation was successfull and there are no pending completions, + * Return: 0 is operation was successful and there are no pending completions, * negative if there were errors, positive if there are pending * completions. */ |