Commit a7beaf23 authored by Lendacky, Thomas's avatar Lendacky, Thomas Committed by David S. Miller

amd-xgbe: Fix a spelling error

This patch fixes the spelling of the word "descriptor" in a couple
of locations.
Signed-off-by: default avatarTom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f6ac8628
...@@ -1185,13 +1185,13 @@ static void xgbe_packet_info(struct xgbe_prv_data *pdata, ...@@ -1185,13 +1185,13 @@ static void xgbe_packet_info(struct xgbe_prv_data *pdata,
packet->rdesc_count = 0; packet->rdesc_count = 0;
if (xgbe_is_tso(skb)) { 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) { if (skb_shinfo(skb)->gso_size != ring->tx.cur_mss) {
context_desc = 1; context_desc = 1;
packet->rdesc_count++; packet->rdesc_count++;
} }
/* TSO requires an extra desriptor for TSO header */ /* TSO requires an extra descriptor for TSO header */
packet->rdesc_count++; packet->rdesc_count++;
XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment