diff options
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | 2014-11-04 17:07:29 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-05 21:50:12 -0500 |
commit | a7beaf23007ac701ebffee1cb48d5d1aea5e7803 (patch) | |
tree | b50a0bf679bdb3d3ca5ffba66c992e205366209e | |
parent | f6ac862845bbe9daac9a02c7690efa01bfb62fa5 (diff) |
amd-xgbe: Fix a spelling error
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>
-rw-r--r-- | drivers/net/ethernet/amd/xgbe/xgbe-drv.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/amd/xgbe/xgbe-drv.c b/drivers/net/ethernet/amd/xgbe/xgbe-drv.c index 6c5a7079697c..ced9f52eb45b 100644 --- a/drivers/net/ethernet/amd/xgbe/xgbe-drv.c +++ b/drivers/net/ethernet/amd/xgbe/xgbe-drv.c | |||
@@ -1185,13 +1185,13 @@ static void xgbe_packet_info(struct xgbe_prv_data *pdata, | |||
1185 | packet->rdesc_count = 0; | 1185 | packet->rdesc_count = 0; |
1186 | 1186 | ||
1187 | if (xgbe_is_tso(skb)) { | 1187 | if (xgbe_is_tso(skb)) { |
1188 | /* TSO requires an extra desriptor if mss is different */ | 1188 | /* TSO requires an extra descriptor if mss is different */ |
1189 | if (skb_shinfo(skb)->gso_size != ring->tx.cur_mss) { | 1189 | if (skb_shinfo(skb)->gso_size != ring->tx.cur_mss) { |
1190 | context_desc = 1; | 1190 | context_desc = 1; |
1191 | packet->rdesc_count++; | 1191 | packet->rdesc_count++; |
1192 | } | 1192 | } |
1193 | 1193 | ||
1194 | /* TSO requires an extra desriptor for TSO header */ | 1194 | /* TSO requires an extra descriptor for TSO header */ |
1195 | packet->rdesc_count++; | 1195 | packet->rdesc_count++; |
1196 | 1196 | ||
1197 | XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, | 1197 | XGMAC_SET_BITS(packet->attributes, TX_PACKET_ATTRIBUTES, |