Re: [PATCH 2/7] ATM cell alignment.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andy Furniss <lists@...>
Cc: Stephen Hemminger <stephen.hemminger@...>, netdev <netdev@...>, David S. Miller <davem@...>, Patrick McHardy <kaber@...>
Date: Monday, April 14, 2008 - 1:59 am

On Sun, 13 Apr 2008, Andy Furniss wrote:


I'm not completely sure I understand how you end up with a negative 
overhead.  But I guess what you are saying, is that you need to remove the 
MAC header from the equation is it has already been added to skb->len (as 
you are doing routed and not bridged AAL5 encap).

That makes a good point for a _seperate_ patch (by you ;-)) where we 
change the overhead to be signed.  Or else you can do a userspace TC patch 
that abuse the cell_align, as you mentioned below, to express a negative 
overhead. (I'm trying to say, lets not mix these things... please!)



Yes, the tables has been aligned to 2^n and avoids underestimation. 
Thus, with upto 2^4 (16) the table aligns to 48 bytes (ATM cell payload 
size), standard TC uses 2^3. (If I remember correctly you, did comment on 
the patch so you must have read it ;-)).



Yes, its nice that we have added this kind of flexibility to the kernel...



I don't think so, but I'm not sure about that... I think it was way too 
complex, which will make it difficult to maintain in the future.

Cheers,
   Jesper Brouer

ps. I'm currently on a roadtrip down the west-coast of USA, so I only have 
periodic wifi coverage at different campgrounds...

--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/7] Final ADSL-optimizer patch series, Jesper Dangaard Brouer, (Wed Apr 9, 4:57 pm)
Re: [PATCH 0/7] Final ADSL-optimizer patch series, Stephen Hemminger, (Thu Apr 17, 1:10 pm)
Re: [PATCH 0/7] Final ADSL-optimizer patch series, David Miller, (Mon Apr 14, 1:40 am)
[PATCH 7/7] Add linklayer parameter to TBF., Jesper Dangaard Brouer, (Wed Apr 9, 5:07 pm)
[PATCH 6/7] Add linklayer parameter to HTB., Jesper Dangaard Brouer, (Wed Apr 9, 5:06 pm)
[PATCH 5/7] Add linklayer parameter to CBQ., Jesper Dangaard Brouer, (Wed Apr 9, 5:04 pm)
[PATCH 4/7] Add linklayer parameter to filter action police., Jesper Dangaard Brouer, (Wed Apr 9, 5:03 pm)
[PATCH 3/7] Parsing linklayer types., Jesper Dangaard Brouer, (Wed Apr 9, 5:02 pm)
[PATCH 2/7] ATM cell alignment., Jesper Dangaard Brouer, (Wed Apr 9, 5:01 pm)
Re: [PATCH 2/7] ATM cell alignment., Andy Furniss, (Sun Apr 13, 7:24 am)
Re: [PATCH 2/7] ATM cell alignment., Jesper Dangaard Brouer, (Mon Apr 14, 1:59 am)
Re: [PATCH 2/7] ATM cell alignment., Andy Furniss, (Tue Apr 15, 7:41 pm)
Re: [PATCH 2/7] ATM cell alignment., Patrick McHardy, (Fri Apr 11, 8:51 am)
Re: [PATCH 2/7] ATM cell alignment., Jesper Dangaard Brouer, (Fri Apr 11, 1:35 pm)
Re: [PATCH 2/7] ATM cell alignment., Patrick McHardy, (Sun Apr 13, 12:44 am)
Re: [PATCH 2/7] ATM cell alignment., Chas Williams (CONTRACTOR)..., (Thu Apr 10, 10:35 am)
Re: [PATCH 2/7] ATM cell alignment., Jesper Dangaard Brouer, (Fri Apr 11, 12:53 am)
Re: [PATCH 2/7] ATM cell alignment., Chas Williams (CONTRACTOR)..., (Fri Apr 11, 10:18 am)
[PATCH 1/7] In police, fix uninitialized "overhead" variable., Jesper Dangaard Brouer, (Wed Apr 9, 4:59 pm)