diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-11-02 01:52:11 +0100 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-11-03 00:54:07 +0100 |
commit | 2407534f8be8015d585104bcc4374870b6b70fe7 (patch) | |
tree | fba7cb22827991ccf447824a6b2d66a543b27e21 /Documentation | |
parent | [TCP]: BIC max increment too large (diff) | |
download | linux-2407534f8be8015d585104bcc4374870b6b70fe7.tar.xz linux-2407534f8be8015d585104bcc4374870b6b70fe7.zip |
[ETHERNET]: Optimize is_broadcast_ether_addr
Optimize the match for broadcast address by using bit operations instead
of comparison. This saves a number of conditional branches, and generates
smaller code.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions