[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1290101963.2781.234.camel@edumazet-laptop>
Date: Thu, 18 Nov 2010 18:39:23 +0100
From: Eric Dumazet <eric.dumazet@...il.com>
To: John Fastabend <john.r.fastabend@...el.com>
Cc: "netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"nhorman@...driver.com" <nhorman@...driver.com>,
"davem@...emloft.net" <davem@...emloft.net>
Subject: Re: [RFC PATCH v1 1/2] net: implement mechanism for HW based QOS
Le jeudi 18 novembre 2010 à 09:27 -0800, John Fastabend a écrit :
> Thanks for the feedback!
>
> num_tx_queues is an unsigned int in net_device and I can't see any
> place that would limit it to 16bits. So I think we need 32 bits here.
> Otherwise I will make these changes and fix the fallout. This is much
> cleaner.
>
>
Hmm...
include/linux/skbuff.h
__u16 queue_mapping:16;
static inline void skb_record_rx_queue(struct sk_buff *skb, u16 rx_queue)
Anyway, we dont want to have more than 32768 queues, not before year
2020 at least
Thanks
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists