<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel.git/net/ethernet/eth.c, branch linux-2.6.27.y</title>
<subtitle>Hosts the 0x221E linux distro kernel.
</subtitle>
<id>https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y</id>
<link rel='self' href='https://git.0xinfinity.dev/distro/kernel.git/atom?h=linux-2.6.27.y'/>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/'/>
<updated>2008-04-14T05:45:40Z</updated>
<entry>
<title>[NET]: Return more appropriate error from eth_validate_addr().</title>
<updated>2008-04-14T05:45:40Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2008-04-14T05:45:40Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=2ed9926e16094ad143b96b09c64cba8bcba05ee1'/>
<id>urn:sha1:2ed9926e16094ad143b96b09c64cba8bcba05ee1</id>
<content type='text'>
Paul Bolle wrote:
&gt; http://bugzilla.kernel.org/show_bug.cgi?id=9923 would have been much easier to
&gt; track down if eth_validate_addr() would somehow complain aloud if an address 
&gt; is invalid. Shouldn't it make at least some noise?

I guess it should return -EADDRNOTAVAIL similar to eth_mac_addr()
when validation fails.

Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[ETH]: Combine format_addr() with print_mac().</title>
<updated>2008-01-28T23:00:05Z</updated>
<author>
<name>Michael Chan</name>
</author>
<published>2007-12-25T05:28:09Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=7ffc49a6ee92b7138c2ee28073a8e10e58335d62'/>
<id>urn:sha1:7ffc49a6ee92b7138c2ee28073a8e10e58335d62</id>
<content type='text'>
print_mac() used many most net drivers and format_addr() used by
net-sysfs.c are very similar and they can be intergrated.

format_addr() is also identically redefined in the qla4xxx iscsi
driver.

Export a new function sysfs_format_mac() to be used by net-sysfs,
qla4xxx and others in the future.  Both print_mac() and
sysfs_format_mac() call _format_mac_addr() to do the formatting.

Changed print_mac() to use unsigned char * to be consistent with
net_device struct's dev_addr.  Added buffer length overrun checking
as suggested by Joe Perches.

Signed-off-by: Michael Chan &lt;mchan@broadcom.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Validate device addr prior to interface-up</title>
<updated>2007-10-24T04:27:50Z</updated>
<author>
<name>Jeff Garzik</name>
</author>
<published>2007-10-24T03:19:37Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=bada339ba24dee9e143bfb42e1dc61f146619846'/>
<id>urn:sha1:bada339ba24dee9e143bfb42e1dc61f146619846</id>
<content type='text'>
Signed-off-by: Jeff Garzik &lt;jgarzik@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Move hardware header operations out of netdevice.</title>
<updated>2007-10-10T23:52:52Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-10-09T08:40:57Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=3b04ddde02cf1b6f14f2697da5c20eca5715017f'/>
<id>urn:sha1:3b04ddde02cf1b6f14f2697da5c20eca5715017f</id>
<content type='text'>
Since hardware header operations are part of the protocol class
not the device instance, make them into a separate object and
save memory.

Signed-off-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Wrap hard_header_parse</title>
<updated>2007-10-10T23:52:51Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-09-27T05:13:38Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=b95cce3576813ac3f86bafa6b5daaaaf7574b0fe'/>
<id>urn:sha1:b95cce3576813ac3f86bafa6b5daaaaf7574b0fe</id>
<content type='text'>
Wrap the hard_header_parse function to simplify next step of
header_ops conversion.

Signed-off-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET]: Introduce and use print_mac() and DECLARE_MAC_BUF()</title>
<updated>2007-10-10T23:51:42Z</updated>
<author>
<name>Joe Perches</name>
</author>
<published>2007-10-04T00:59:30Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=0795af5729b18218767fab27c44b1384f72dc9ad'/>
<id>urn:sha1:0795af5729b18218767fab27c44b1384f72dc9ad</id>
<content type='text'>
This is nicer than the MAC_FMT stuff.

Signed-off-by: Joe Perches &lt;joe@perches.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[NET] ethernet: optimize memcpy and memset</title>
<updated>2007-10-10T23:48:26Z</updated>
<author>
<name>Stephen Hemminger</name>
</author>
<published>2007-08-25T05:35:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e'/>
<id>urn:sha1:23f1f4eff85d3d2ec9ed589e3fdcbba59eaa083e</id>
<content type='text'>
The ethernet header management only needs to handle a fixed
size address (6 bytes). If the memcpy/memset are changed to
be passed a constant length, then compiler can optimize for
this case (and if it is smart eliminate string instructions).

Signed-off-by: Stephen Hemminger &lt;shemminger@linux-foundation.org&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[ETH]: Validate address in eth_mac_addr</title>
<updated>2007-07-12T02:41:18Z</updated>
<author>
<name>Patrick McHardy</name>
</author>
<published>2007-07-12T02:41:18Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=71bffe556c59a7865bf0b1ecd94530f1e296cdb0'/>
<id>urn:sha1:71bffe556c59a7865bf0b1ecd94530f1e296cdb0</id>
<content type='text'>
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[CORE] Stack changes to add multiqueue hardware support API</title>
<updated>2007-07-11T05:16:21Z</updated>
<author>
<name>Peter P Waskiewicz Jr</name>
</author>
<published>2007-07-06T20:36:20Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=f25f4e44808f0f6c9875d94ef1c41ef86c288eb2'/>
<id>urn:sha1:f25f4e44808f0f6c9875d94ef1c41ef86c288eb2</id>
<content type='text'>
Add the multiqueue hardware device support API to the core network
stack.  Allow drivers to allocate multiple queues and manage them at
the netdev level if they choose to do so.

Added a new field to sk_buff, namely queue_mapping, for drivers to
know which tx_ring to select based on OS classification of the flow.

Signed-off-by: Peter P Waskiewicz Jr &lt;peter.p.waskiewicz.jr@intel.com&gt;
Signed-off-by: Patrick McHardy &lt;kaber@trash.net&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>[SK_BUFF]: Introduce skb_reset_mac_header(skb)</title>
<updated>2007-04-26T05:24:32Z</updated>
<author>
<name>Arnaldo Carvalho de Melo</name>
</author>
<published>2007-03-19T22:30:44Z</published>
<link rel='alternate' type='text/html' href='https://git.0xinfinity.dev/distro/kernel.git/commit/?id=459a98ed881802dee55897441bc7f77af614368e'/>
<id>urn:sha1:459a98ed881802dee55897441bc7f77af614368e</id>
<content type='text'>
For the common, open coded 'skb-&gt;mac.raw = skb-&gt;data' operation, so that we can
later turn skb-&gt;mac.raw into a offset, reducing the size of struct sk_buff in
64bit land while possibly keeping it as a pointer on 32bit.

This one touches just the most simple case, next will handle the slightly more
"complex" cases.

Signed-off-by: Arnaldo Carvalho de Melo &lt;acme@redhat.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
</feed>
