Skip to content

Commit e892067

Browse files
Dmitry Kravkovdavem330
authored andcommitted
bnx2x: function descriptions format fixed
Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com> Signed-off-by: Eilon Greenstein <eilong@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 5de9240 commit e892067

6 files changed

Lines changed: 194 additions & 266 deletions

File tree

‎drivers/net/bnx2x/bnx2x_cmn.c‎

Lines changed: 23 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -308,13 +308,15 @@ static void bnx2x_tpa_start(struct bnx2x_fastpath *fp, u16 queue,
308308
*/
309309
#define TPA_TSTAMP_OPT_LEN 12
310310
/**
311-
* Calculate the approximate value of the MSS for this
312-
* aggregation using the first packet of it.
311+
* bnx2x_set_lro_mss - calculate the approximate value of the MSS
313312
*
314-
* @param bp
315-
* @param parsing_flags Parsing flags from the START CQE
316-
* @param len_on_bd Total length of the first packet for the
317-
* aggregation.
313+
* @bp: driver handle
314+
* @parsing_flags: parsing flags from the START CQE
315+
* @len_on_bd: total length of the first packet for the
316+
* aggregation.
317+
*
318+
* Approximate value of the MSS for this aggregation calculated using
319+
* the first packet of it.
318320
*/
319321
static inline u16 bnx2x_set_lro_mss(struct bnx2x *bp, u16 parsing_flags,
320322
u16 len_on_bd)
@@ -2083,12 +2085,11 @@ static inline void bnx2x_set_pbd_gso_e2(struct sk_buff *skb, u32 *parsing_data,
20832085
}
20842086

20852087
/**
2086-
* Update PBD in GSO case.
2088+
* bnx2x_set_pbd_gso - update PBD in GSO case.
20872089
*
2088-
* @param skb
2089-
* @param tx_start_bd
2090-
* @param pbd
2091-
* @param xmit_type
2090+
* @skb: packet skb
2091+
* @pbd: parse BD
2092+
* @xmit_type: xmit flags
20922093
*/
20932094
static inline void bnx2x_set_pbd_gso(struct sk_buff *skb,
20942095
struct eth_tx_parse_bd_e1x *pbd,
@@ -2115,13 +2116,14 @@ static inline void bnx2x_set_pbd_gso(struct sk_buff *skb,
21152116
}
21162117

21172118
/**
2119+
* bnx2x_set_pbd_csum_e2 - update PBD with checksum and return header length
21182120
*
2119-
* @param skb
2120-
* @param tx_start_bd
2121-
* @param pbd_e2
2122-
* @param xmit_type
2121+
* @bp: driver handle
2122+
* @skb: packet skb
2123+
* @parsing_data: data to be updated
2124+
* @xmit_type: xmit flags
21232125
*
2124-
* @return header len
2126+
* 57712 related
21252127
*/
21262128
static inline u8 bnx2x_set_pbd_csum_e2(struct bnx2x *bp, struct sk_buff *skb,
21272129
u32 *parsing_data, u32 xmit_type)
@@ -2146,13 +2148,12 @@ static inline u8 bnx2x_set_pbd_csum_e2(struct bnx2x *bp, struct sk_buff *skb,
21462148
}
21472149

21482150
/**
2151+
* bnx2x_set_pbd_csum - update PBD with checksum and return header length
21492152
*
2150-
* @param skb
2151-
* @param tx_start_bd
2152-
* @param pbd
2153-
* @param xmit_type
2154-
*
2155-
* @return Header length
2153+
* @bp: driver handle
2154+
* @skb: packet skb
2155+
* @pbd: parse BD to be updated
2156+
* @xmit_type: xmit flags
21562157
*/
21572158
static inline u8 bnx2x_set_pbd_csum(struct bnx2x *bp, struct sk_buff *skb,
21582159
struct eth_tx_parse_bd_e1x *pbd,

0 commit comments

Comments
 (0)