Re: Usage of IFQ_DEQUEUE vs IFQ_DRV_DEQUEUE

2011-08-26 Thread Patrick Mahan


On 8/24/11 11:42 AM, Sergey Kandaurov wrote:
> On 24 August 2011 22:12, Patrick Mahan  wrote:
>> Can somebody confirm my assumption on the following:
>>
>>  If I am supporting ALTQ in a driver, then I should use the
>>  IFQ_DRV_DEQUEUE() macro.  If I am not supporting ALTQ then
>>  it is okay IFQ_DEQUEUE() macro?  If not what's the difference?
>>
>> Slightly confused...
>>
> 
> Just in case, have you read man 9 altq? It has a good description of
> these macros.
> 

Sergey,

That is exactly what I was looking for.  Don't know how I missed that
(sometimes get caught up in looking at the source)

Thanks,

Patrick
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Re: Usage of IFQ_DEQUEUE vs IFQ_DRV_DEQUEUE

2011-08-24 Thread Sergey Kandaurov
On 24 August 2011 22:12, Patrick Mahan  wrote:
> Can somebody confirm my assumption on the following:
>
>  If I am supporting ALTQ in a driver, then I should use the
>  IFQ_DRV_DEQUEUE() macro.  If I am not supporting ALTQ then
>  it is okay IFQ_DEQUEUE() macro?  If not what's the difference?
>
> Slightly confused...
>

Just in case, have you read man 9 altq? It has a good description of
these macros.

-- 
wbr,
pluknet
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"


Usage of IFQ_DEQUEUE vs IFQ_DRV_DEQUEUE

2011-08-24 Thread Patrick Mahan
Can somebody confirm my assumption on the following:

  If I am supporting ALTQ in a driver, then I should use the
  IFQ_DRV_DEQUEUE() macro.  If I am not supporting ALTQ then
  it is okay IFQ_DEQUEUE() macro?  If not what's the difference?

Slightly confused...

Thanks,

Patrick
___
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"