dev/e1000,ixgbe: minor spelling fixes.
No functional change. Differential Revision: https://reviews.freebsd.org/D6177
This commit is contained in:
parent
8edac6eee6
commit
363089d89e
@ -396,7 +396,7 @@ static s32 e1000_init_mac_params_82571(struct e1000_hw *hw)
|
||||
}
|
||||
|
||||
/* Ensure that the inter-port SWSM.SMBI lock bit is clear before
|
||||
* first NVM or PHY acess. This should be done for single-port
|
||||
* first NVM or PHY access. This should be done for single-port
|
||||
* devices, and for one port only on dual-port devices so that
|
||||
* for those devices we can still use the SMBI lock to synchronize
|
||||
* inter-port accesses to the PHY & NVM.
|
||||
|
@ -67,7 +67,7 @@ static s32 e1000_null_mbx_transact(struct e1000_hw E1000_UNUSEDARG *hw,
|
||||
* @size: Length of buffer
|
||||
* @mbx_id: id of mailbox to read
|
||||
*
|
||||
* returns SUCCESS if it successfuly read message from buffer
|
||||
* returns SUCCESS if it successfully read message from buffer
|
||||
**/
|
||||
s32 e1000_read_mbx(struct e1000_hw *hw, u32 *msg, u16 size, u16 mbx_id)
|
||||
{
|
||||
@ -493,7 +493,7 @@ out_no_write:
|
||||
* @size: Length of buffer
|
||||
* @mbx_id: id of mailbox to read
|
||||
*
|
||||
* returns SUCCESS if it successfuly read message from buffer
|
||||
* returns SUCCESS if it successfully read message from buffer
|
||||
**/
|
||||
static s32 e1000_read_mbx_vf(struct e1000_hw *hw, u32 *msg, u16 size,
|
||||
u16 E1000_UNUSEDARG mbx_id)
|
||||
|
@ -582,7 +582,7 @@ em_attach(device_t dev)
|
||||
}
|
||||
/*
|
||||
** In the new SPT device flash is not a
|
||||
** seperate BAR, rather it is also in BAR0,
|
||||
** separate BAR, rather it is also in BAR0,
|
||||
** so use the same tag and an offset handle for the
|
||||
** FLASH read/write macros in the shared code.
|
||||
*/
|
||||
@ -1929,7 +1929,7 @@ em_xmit(struct tx_ring *txr, struct mbuf **m_headp)
|
||||
* so we firstly get a writable mbuf chain then coalesce ethernet/
|
||||
* IP/TCP header into a single buffer to meet the requirement of
|
||||
* controller. This also simplifies IP/TCP/UDP checksum offloading
|
||||
* which also has similiar restrictions.
|
||||
* which also has similar restrictions.
|
||||
*/
|
||||
if (do_tso || m_head->m_pkthdr.csum_flags & CSUM_OFFLOAD) {
|
||||
if (do_tso || (m_head->m_next != NULL &&
|
||||
@ -2595,7 +2595,7 @@ em_allocate_legacy(struct adapter *adapter)
|
||||
*
|
||||
* Setup the MSIX Interrupt handlers
|
||||
* This is not really Multiqueue, rather
|
||||
* its just seperate interrupt vectors
|
||||
* its just separate interrupt vectors
|
||||
* for TX, RX, and Link.
|
||||
*
|
||||
**********************************************************************/
|
||||
@ -3083,7 +3083,7 @@ em_reset(struct adapter *adapter)
|
||||
* received after sending an XOFF.
|
||||
* - Low water mark works best when it is very near the high water mark.
|
||||
* This allows the receiver to restart by sending XON when it has
|
||||
* drained a bit. Here we use an arbitary value of 1500 which will
|
||||
* drained a bit. Here we use an arbitrary value of 1500 which will
|
||||
* restart after one full frame is pulled from the buffer. There
|
||||
* could be several smaller frames in the buffer and if so they will
|
||||
* not trigger the XON until their total number reduces the buffer
|
||||
|
@ -304,7 +304,7 @@ SYSCTL_INT(_hw_igb, OID_AUTO, buf_ring_size, CTLFLAG_RDTUN,
|
||||
|
||||
/*
|
||||
** Header split causes the packet header to
|
||||
** be dma'd to a seperate mbuf from the payload.
|
||||
** be dma'd to a separate mbuf from the payload.
|
||||
** this can have memory alignment benefits. But
|
||||
** another plus is that small packets often fit
|
||||
** into the header and thus use no cluster. Its
|
||||
@ -4483,7 +4483,7 @@ skip_head:
|
||||
** Now set up the LRO interface, we
|
||||
** also only do head split when LRO
|
||||
** is enabled, since so often they
|
||||
** are undesireable in similar setups.
|
||||
** are undesirable in similar setups.
|
||||
*/
|
||||
if (ifp->if_capenable & IFCAP_LRO) {
|
||||
error = tcp_lro_init(lro);
|
||||
|
@ -2412,7 +2412,7 @@ lem_hardware_init(struct adapter *adapter)
|
||||
* received after sending an XOFF.
|
||||
* - Low water mark works best when it is very near the high water mark.
|
||||
* This allows the receiver to restart by sending XON when it has
|
||||
* drained a bit. Here we use an arbitary value of 1500 which will
|
||||
* drained a bit. Here we use an arbitrary value of 1500 which will
|
||||
* restart after one full frame is pulled from the buffer. There
|
||||
* could be several smaller frames in the buffer and if so they will
|
||||
* not trigger the XON until their total number reduces the buffer
|
||||
@ -3838,7 +3838,7 @@ discard:
|
||||
* copy ethernet header to the new mbuf. The new mbuf is prepended into the
|
||||
* existing mbuf chain.
|
||||
*
|
||||
* Be aware, best performance of the 8254x is achived only when jumbo frame is
|
||||
* Be aware, best performance of the 8254x is achieved only when jumbo frame is
|
||||
* not used at all on architectures with strict alignment.
|
||||
*/
|
||||
static int
|
||||
|
@ -195,7 +195,7 @@ TUNABLE_INT("hw.ixv.flow_control", &ixv_flow_control);
|
||||
|
||||
/*
|
||||
* Header split: this causes the hardware to DMA
|
||||
* the header into a seperate mbuf from the payload,
|
||||
* the header into a separate mbuf from the payload,
|
||||
* it can be a performance win in some workloads, but
|
||||
* in others it actually hurts, its off by default.
|
||||
*/
|
||||
@ -1141,7 +1141,7 @@ ixv_local_timer(void *arg)
|
||||
|
||||
}
|
||||
|
||||
/* Only truely watchdog if all queues show hung */
|
||||
/* Only truly watchdog if all queues show hung */
|
||||
if (hung == adapter->num_queues)
|
||||
goto watchdog;
|
||||
else if (queues != 0) { /* Force an IRQ on queues with work */
|
||||
@ -1958,7 +1958,7 @@ ixv_handle_mbx(void *context, int pending)
|
||||
}
|
||||
|
||||
/*
|
||||
** The VF stats registers never have a truely virgin
|
||||
** The VF stats registers never have a truly virgin
|
||||
** starting point, so this routine tries to make an
|
||||
** artificial one, marking ground zero on attach as
|
||||
** it were.
|
||||
|
@ -879,7 +879,7 @@ s32 ixgbe_update_eeprom_checksum(struct ixgbe_hw *hw)
|
||||
* @vmdq: VMDq pool to assign
|
||||
*
|
||||
* Puts an ethernet address into a receive address register, or
|
||||
* finds the rar that it is aleady in; adds to the pool list
|
||||
* finds the rar that it is already in; adds to the pool list
|
||||
**/
|
||||
s32 ixgbe_insert_mac_addr(struct ixgbe_hw *hw, u8 *addr, u32 vmdq)
|
||||
{
|
||||
|
@ -3610,7 +3610,7 @@ u16 ixgbe_get_pcie_msix_count_generic(struct ixgbe_hw *hw)
|
||||
* @vmdq: VMDq pool to assign
|
||||
*
|
||||
* Puts an ethernet address into a receive address register, or
|
||||
* finds the rar that it is aleady in; adds to the pool list
|
||||
* finds the rar that it is already in; adds to the pool list
|
||||
**/
|
||||
s32 ixgbe_insert_mac_addr_generic(struct ixgbe_hw *hw, u8 *addr, u32 vmdq)
|
||||
{
|
||||
|
@ -42,7 +42,7 @@
|
||||
* @size: Length of buffer
|
||||
* @mbx_id: id of mailbox to read
|
||||
*
|
||||
* returns SUCCESS if it successfuly read message from buffer
|
||||
* returns SUCCESS if it successfully read message from buffer
|
||||
**/
|
||||
s32 ixgbe_read_mbx(struct ixgbe_hw *hw, u32 *msg, u16 size, u16 mbx_id)
|
||||
{
|
||||
@ -462,7 +462,7 @@ out_no_write:
|
||||
* @size: Length of buffer
|
||||
* @mbx_id: id of mailbox to read
|
||||
*
|
||||
* returns SUCCESS if it successfuly read message from buffer
|
||||
* returns SUCCESS if it successfully read message from buffer
|
||||
**/
|
||||
static s32 ixgbe_read_mbx_vf(struct ixgbe_hw *hw, u32 *msg, u16 size,
|
||||
u16 mbx_id)
|
||||
|
@ -47,7 +47,7 @@
|
||||
*
|
||||
* - IXGBE_ERROR_POLLING
|
||||
* This category is for errors related to polling/timeout issues and should be
|
||||
* used in any case where the timeout occured, or a failure to obtain a lock, or
|
||||
* used in any case where the timeout occurred, or a failure to obtain a lock, or
|
||||
* failure to receive data within the time limit.
|
||||
*
|
||||
* - IXGBE_ERROR_CAUTION
|
||||
@ -2078,7 +2078,7 @@ enum {
|
||||
#define IXGBE_MACC_FS 0x00040000
|
||||
#define IXGBE_MAC_RX2TX_LPBK 0x00000002
|
||||
|
||||
/* Veto Bit definiton */
|
||||
/* Veto Bit definition */
|
||||
#define IXGBE_MMNGC_MNG_VETO 0x00000001
|
||||
|
||||
/* LINKS Bit Masks */
|
||||
|
Loading…
x
Reference in New Issue
Block a user