[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20070430.122257.68157976.davem@davemloft.net>
Date: Mon, 30 Apr 2007 12:22:57 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: dada1@...mosbay.com
Cc: brian.haley@...com, yoshfuji@...ux-ipv6.org, netdev@...r.kernel.org
Subject: Re: [RFC, PATCH] IPV6 : add 64 bits components in struct in6_addr
to speedup ipv6_addr_equal() & ipv6_addr_any()
From: Eric Dumazet <dada1@...mosbay.com>
Date: Mon, 30 Apr 2007 21:08:45 +0200
> Maybe we could at least define a 'struct in6_addr_k' for internal
> structures only, to speedup some parts of IPV6 stack.
I think it's better to put this on the backburner for now :-)
We could achieve all of this if we start from the bottom
and work our way up.
Although there are many variations, the logic drivers use to use
skb_reserve() to align the receive header tends to take on a certain
pattern. We could pull that out into a common piece of code and then
make it ensure 64-bit alignment without a lot of pain.
The hard part of the work will be handling the cases that don't
fit the pattern, and don't forget about NET_IP_ALIGN :-)
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists