Skip to content

Commit

Permalink
amd-xgbe: Fix a spelling error
Browse files Browse the repository at this point in the history
This patch fixes the spelling of the word "descriptor" in a couple
of locations.

Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Lendacky, Thomas authored and David S. Miller committed Nov 6, 2014
1 parent f6ac862 commit a7beaf2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/amd/xgbe/xgbe-drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -1185,13 +1185,13 @@ static void xgbe_packet_info(struct xgbe_prv_data *pdata,
packet->rdesc_count = 0;

if (xgbe_is_tso(skb)) {
/* TSO requires an extra desriptor if mss is different */
/* TSO requires an extra descriptor if mss is different */
if (skb_shinfo(skb)->gso_size != ring->tx.cur_mss) {
context_desc = 1;
packet->rdesc_count++;
}

/* TSO requires an extra desriptor for TSO header */
/* TSO requires an extra descriptor for TSO header */
packet->rdesc_count++;

XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES,
Expand Down

0 comments on commit a7beaf2

Please sign in to comment.