Date: Thu, 2 Aug 2012 17:49:44 +0530 From: Venkat Duvvuru <venkatduvvuru.ml@gmail.com> To: freebsd-net@freebsd.org Subject: Re: IPv6 multi queue transmit Message-ID: <CAGdae7b_wnwMGTi5CbL4KWtrjDf60SysXprkA4EOTD6kV4ESvw@mail.gmail.com> In-Reply-To: <CAGdae7YYrk9NbeY_MTF=x=VVkwhuQO6YiX3cnLoeLhR4Nt6PfA@mail.gmail.com> References: <CAGdae7YYrk9NbeY_MTF=x=VVkwhuQO6YiX3cnLoeLhR4Nt6PfA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Folks - any inputs?
/Venkat
On Tue, Jul 31, 2012 at 6:52 PM, Venkat Duvvuru
<venkatduvvuru.ml@gmail.com>wrote:
> 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?CAGdae7b_wnwMGTi5CbL4KWtrjDf60SysXprkA4EOTD6kV4ESvw>
