mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
ice(4): Fix a few typos in source code comments
- s/wit/with/ - s/Recceive/Receive/ - s/convenction/convention/ - s/metaddata/metadata/ Obtained from: OpenBSD (cherry picked from commit 9113e9d687058877009c8f3a871fbe845db6a592)
This commit is contained in:
parent
ee0306bc3d
commit
5443e2fb1a
4 changed files with 5 additions and 5 deletions
|
|
@ -198,7 +198,7 @@ static inline void ice_zero_bitmap(ice_bitmap_t *bmp, u16 size)
|
|||
* ice_and_bitmap - bitwise AND 2 bitmaps and store result in dst bitmap
|
||||
* @dst: Destination bitmap that receive the result of the operation
|
||||
* @bmp1: The first bitmap to intersect
|
||||
* @bmp2: The second bitmap to intersect wit the first
|
||||
* @bmp2: The second bitmap to intersect with the first
|
||||
* @size: Size of the bitmaps in bits
|
||||
*
|
||||
* This function performs a bitwise AND on two "source" bitmaps of the same size
|
||||
|
|
@ -237,7 +237,7 @@ ice_and_bitmap(ice_bitmap_t *dst, const ice_bitmap_t *bmp1,
|
|||
* ice_or_bitmap - bitwise OR 2 bitmaps and store result in dst bitmap
|
||||
* @dst: Destination bitmap that receive the result of the operation
|
||||
* @bmp1: The first bitmap to intersect
|
||||
* @bmp2: The second bitmap to intersect wit the first
|
||||
* @bmp2: The second bitmap to intersect with the first
|
||||
* @size: Size of the bitmaps in bits
|
||||
*
|
||||
* This function performs a bitwise OR on two "source" bitmaps of the same size
|
||||
|
|
|
|||
|
|
@ -630,7 +630,7 @@ enum ice_rxdid {
|
|||
ICE_RXDID_LAST = 63,
|
||||
};
|
||||
|
||||
/* Recceive Flex descriptor Dword Index */
|
||||
/* Receive Flex descriptor Dword Index */
|
||||
enum ice_flex_word {
|
||||
ICE_RX_FLEX_DWORD_0 = 0,
|
||||
ICE_RX_FLEX_DWORD_1,
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@ enum ice_dyn_idx_t {
|
|||
ICE_ITR_NONE = 3 /* ITR_NONE must not be used as an index */
|
||||
};
|
||||
|
||||
/* By convenction ITR0 is used for RX, and ITR1 is used for TX */
|
||||
/* By convention ITR0 is used for RX, and ITR1 is used for TX */
|
||||
#define ICE_RX_ITR ICE_IDX_ITR0
|
||||
#define ICE_TX_ITR ICE_IDX_ITR1
|
||||
|
||||
|
|
|
|||
|
|
@ -143,7 +143,7 @@ enum ice_prot_id {
|
|||
ICE_PROT_LLDP_OF = 117,
|
||||
ICE_PROT_ARP_OF = 118,
|
||||
ICE_PROT_EAPOL_OF = 120,
|
||||
ICE_PROT_META_ID = 255, /* when offset == metaddata */
|
||||
ICE_PROT_META_ID = 255, /* when offset == metadata */
|
||||
ICE_PROT_INVALID = 255 /* when offset == ICE_FV_OFFSET_INVAL */
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue