Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
authorDavid S. Miller <davem@davemloft.net>
Fri, 16 Aug 2013 22:37:26 +0000 (15:37 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Aug 2013 22:37:26 +0000 (15:37 -0700)
26 files changed:
1  2 
MAINTAINERS
drivers/net/ethernet/broadcom/bnx2x/bnx2x.h
drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c
drivers/net/ethernet/broadcom/bnx2x/bnx2x_sriov.c
drivers/net/ethernet/broadcom/tg3.c
drivers/net/ethernet/emulex/benet/be_cmds.c
drivers/net/ethernet/emulex/benet/be_cmds.h
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_init.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c
drivers/net/ethernet/via/via-velocity.c
drivers/net/macvlan.c
drivers/net/macvtap.c
drivers/net/tun.c
drivers/net/vxlan.c
include/net/ip_tunnels.h
include/net/sch_generic.h
include/uapi/linux/snmp.h
net/core/flow_dissector.c
net/core/rtnetlink.c
net/ipv4/ip_gre.c
net/ipv4/proc.c
net/ipv6/ip6_fib.c
net/sctp/associola.c
net/sctp/transport.c
net/vmw_vsock/af_vsock.c

diff --cc MAINTAINERS
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
index ffc9d883b163eb299ea07c09b243e40c57066d33,e5ae0c50fa9c5c481f991de92efd5e862d5bca67..76368c9d4503c124df44a5ed56fc942782209db8
@@@ -691,11 -690,15 +692,16 @@@ struct psched_ratecfg 
  static inline u64 psched_l2t_ns(const struct psched_ratecfg *r,
                                unsigned int len)
  {
-       return ((u64)(len + r->overhead) * r->mult) >> r->shift;
+       len += r->overhead;
+       if (unlikely(r->linklayer == TC_LINKLAYER_ATM))
+               return ((u64)(DIV_ROUND_UP(len,48)*53) * r->mult) >> r->shift;
+       return ((u64)len * r->mult) >> r->shift;
  }
  
 -extern void psched_ratecfg_precompute(struct psched_ratecfg *r, const struct tc_ratespec *conf);
 +void psched_ratecfg_precompute(struct psched_ratecfg *r,
 +                             const struct tc_ratespec *conf);
  
  static inline void psched_ratecfg_getrate(struct tc_ratespec *res,
                                          const struct psched_ratecfg *r)
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc net/ipv4/proc.c
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge