Date: Tue, 31 Jul 2012 18:52:20 +0530 From: Venkat Duvvuru <venkatduvvuru.ml@gmail.com> To: freebsd-net@freebsd.org Subject: IPv6 multi queue transmit Message-ID: <CAGdae7YYrk9NbeY_MTF=x=VVkwhuQO6YiX3cnLoeLhR4Nt6PfA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi,
I have a couple of questions related to flowid for IPv6. Please clarify.
1. Why is the below code (ip_output) absent for ip6_output? This is causing
the ipv6 traffic to always flow in just one queue.
if (inp != NULL) {
INP_LOCK_ASSERT(inp);
M_SETFIB(m, inp->inp_inc.inc_fibnum);
if (inp->inp_flags & (INP_HW_FLOWID|INP_SW_FLOWID)) {
m->m_pkthdr.flowid = inp->inp_flowid;
m->m_flags |= M_FLOWID;
}
}
2. Why "fle" is NULL after enabling FLOWTABLE for IPv6
net/flowtable.c
if (af == AF_INET6)
{
fle = flowtable_lookup_mbuf6(ft, m);
if (fle != NULL && m != NULL && (m->m_flags & M_FLOWID) ==
0) {
m->m_flags |= M_FLOWID;
m->m_pkthdr.flowid = fle->f_fhash;
}
}
/Venkat
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGdae7YYrk9NbeY_MTF=x=VVkwhuQO6YiX3cnLoeLhR4Nt6PfA>
