| To: | amir.noam@xxxxxxxxx |
|---|---|
| Subject: | Re: [Bonding-devel] [PATCH] [bonding 2.4] Add balance-xor-ip bonding mode |
| From: | Per Hedeland <per@xxxxxxxxxxxx> |
| Date: | Thu, 8 Jan 2004 17:43:58 +0100 (CET) |
| Cc: | bonding-devel@xxxxxxxxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <200401081733.44744.amir.noam@xxxxxxxxx> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Amir Noam <amir.noam@xxxxxxxxx> wrote: >Please use u32 instead of __u32. OK. >hmm... > >I don't like this. The reason we give different tx function pointers >to dev->hard_start_xmit in different bonding mode is to make the tx >path as fast as possible. Otherwise we might as well use a single tx >function that chooses its exact operation based on the bonding mode. > >It might be better to have some code duplication if it results in >faster tx, but I'm not sure what's the optimal solution in this case. Well, I don't really have an opinion since I don't have a good idea about the cost of a function call relative to "everything else" that is happening here. I don't see a way to do "limited" duplication without using function calls though, but I'm quite happy to make it two entirely separate functions for MAC vs IP. Please advise. --Per Hedeland per@xxxxxxxxxxxx |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 4/4] [bonding 2.6] Support old commands over new bonding ioctl, Amir Noam |
|---|---|
| Next by Date: | [PATCH][ATM]: br2684 incorrectly handles frames recvd with FCS (by Alex Zeffertt <ajz@xxxxxxxxxxxxxxxxxxxxxx>), contractor |
| Previous by Thread: | Re: [Bonding-devel] [PATCH] [bonding 2.4] Add balance-xor-ip bonding mode, Amir Noam |
| Next by Thread: | Re: [Bonding-devel] [PATCH] [bonding 2.4] Add balance-xor-ip bonding mode, Amir Noam |
| Indexes: | [Date] [Thread] [Top] [All Lists] |