Now
MAIN commitmail json YAML
src/sys/net/if_arcsubr.c@1.67
/
diff
/
nxr@1.67
src/sys/net/if_atmsubr.c@1.53 / diff / nxr@1.53
src/sys/net/if_ecosubr.c@1.43 / diff / nxr@1.43
src/sys/net/if_ethersubr.c@1.210 / diff / nxr@1.210
src/sys/net/if_fddisubr.c@1.92 / diff / nxr@1.92
src/sys/net/if_hippisubr.c@1.43 / diff / nxr@1.43
src/sys/net/if_ieee1394subr.c@1.49 / diff / nxr@1.49
src/sys/net/if_mpls.c@1.17 / diff / nxr@1.17
src/sys/netinet/in_offload.c@1.6 / diff / nxr@1.6
src/sys/netinet/ip_output.c@1.239 / diff / nxr@1.239
src/sys/netinet/ip_var.h@1.108 / diff / nxr@1.108
src/sys/sys/mbuf.h@1.158 / diff / nxr@1.158
src/sys/net/if_atmsubr.c@1.53 / diff / nxr@1.53
src/sys/net/if_ecosubr.c@1.43 / diff / nxr@1.43
src/sys/net/if_ethersubr.c@1.210 / diff / nxr@1.210
src/sys/net/if_fddisubr.c@1.92 / diff / nxr@1.92
src/sys/net/if_hippisubr.c@1.43 / diff / nxr@1.43
src/sys/net/if_ieee1394subr.c@1.49 / diff / nxr@1.49
src/sys/net/if_mpls.c@1.17 / diff / nxr@1.17
src/sys/netinet/in_offload.c@1.6 / diff / nxr@1.6
src/sys/netinet/ip_output.c@1.239 / diff / nxr@1.239
src/sys/netinet/ip_var.h@1.108 / diff / nxr@1.108
src/sys/sys/mbuf.h@1.158 / diff / nxr@1.158
Pull out route lookups from L2 output routines
Route lookups for routes of RTF_GATEWAY were done in L2 output
routines such as ether_output, but they should be done in L3
i.e., before L2 output routines. This change places the lookups
between L3 output routines (say ip_output) and the L2 output
routines.
The change is based on dyoung's patch submitted in the thread:
https://mail-index.netbsd.org/tech-net/2013/02/01/msg003847.html
You can find out detailed investigations by dyoung about the
issue in there.
Note that the change introduces a workaround for MPLS. ether_output
knew that it needs to fill the ethertype of a frame as MPLS,
based on a tag of an original route (rtentry), but now we don't
pass it to ehter_output. So we have to tell that in another way.
We use mtag to do so for now, which introduces some overhead.
We should fix it somehow in the future.
Discussed on tech-kern and tech-net.
Route lookups for routes of RTF_GATEWAY were done in L2 output
routines such as ether_output, but they should be done in L3
i.e., before L2 output routines. This change places the lookups
between L3 output routines (say ip_output) and the L2 output
routines.
The change is based on dyoung's patch submitted in the thread:
https://mail-index.netbsd.org/tech-net/2013/02/01/msg003847.html
You can find out detailed investigations by dyoung about the
issue in there.
Note that the change introduces a workaround for MPLS. ether_output
knew that it needs to fill the ethertype of a frame as MPLS,
based on a tag of an original route (rtentry), but now we don't
pass it to ehter_output. So we have to tell that in another way.
We use mtag to do so for now, which introduces some overhead.
We should fix it somehow in the future.
Discussed on tech-kern and tech-net.