netdev
[Top] [All Lists]

[PATCH net-drivers-2.6 2/11] ixgb: Do not set the RS bit on context desc

To: "jgarzik@xxxxxxxxx" <jgarzik@xxxxxxxxx>
Subject: [PATCH net-drivers-2.6 2/11] ixgb: Do not set the RS bit on context descriptors
From: Malli Chilakala <mallikarjuna.chilakala@xxxxxxxxx>
Date: Tue, 19 Apr 2005 22:44:12 -0700 (PDT)
Cc: netdev <netdev@xxxxxxxxxxx>
Replyto: "Malli Chilakala" <mallikarjuna.chilakala@intel.com>
Sender: netdev-bounce@xxxxxxxxxxx
Don't set the RS bit on context descriptors, causes un-necessary bus activity 

Signed-off-by: Mallikarjuna R Chilakala <mallikarjuna.chilakala@xxxxxxxxx>
Signed-off-by: Ganesh Venkatesan <ganesh.venkatesan@xxxxxxxxx>
Signed-off-by: John Ronciak <john.ronciak@xxxxxxxxx>
diff -up net-drivers-2.6/drivers/net/ixgb/ixgb_main.c 
net-drivers-2.6/drivers/net/ixgb.new/ixgb_main.c
--- net-drivers-2.6/drivers/net/ixgb/ixgb_main.c        2005-04-05 
23:06:36.332229456 -0700
+++ net-drivers-2.6/drivers/net/ixgb.new/ixgb_main.c    2005-04-05 
23:06:38.283932752 -0700
@@ -1209,9 +1209,9 @@ ixgb_tso(struct ixgb_adapter *adapter, s
                                                | IXGB_CONTEXT_DESC_CMD_TSE
                                                | IXGB_CONTEXT_DESC_CMD_IP
                                                | IXGB_CONTEXT_DESC_CMD_TCP
-                                               | IXGB_CONTEXT_DESC_CMD_RS
                                                | IXGB_CONTEXT_DESC_CMD_IDE
                                                | (skb->len - (hdr_len)));
+
 
                if(++i == adapter->tx_ring.count) i = 0;
                adapter->tx_ring.next_to_use = i;
@@ -1246,9 +1246,8 @@ ixgb_tx_csum(struct ixgb_adapter *adapte
                context_desc->hdr_len = 0;
                context_desc->mss = 0;
                context_desc->cmd_type_len =
-                       cpu_to_le32(IXGB_CONTEXT_DESC_TYPE
-                                       | IXGB_TX_DESC_CMD_RS 
-                                       | IXGB_TX_DESC_CMD_IDE);
+                       cpu_to_le32(IXGB_CONTEXT_DESC_TYPE
+                                   | IXGB_TX_DESC_CMD_IDE);
 
                if(++i == adapter->tx_ring.count) i = 0;
                adapter->tx_ring.next_to_use = i;

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH net-drivers-2.6 2/11] ixgb: Do not set the RS bit on context descriptors, Malli Chilakala <=