1. 04 3月, 2009 2 次提交
    • E
      veth: Allow setting the L3 MTU · 38d40815
      Eric Biederman 提交于
      The limitation to only 1500 byte mtu's limits the utility of the veth
      device for testing routing.  So implement implement a configurable
      MTU.
      
      For consistency I drop packets on the receive side when they are
      larger than the MTU.  I count those drops.  And I allow
      a little padding for vlan headers.
      
      I also test the mtu when a new device is created with netlink
      because that path currently bypasses the current mtu setting
      code.
      Signed-off-by: NEric Biederman <ebiederm@aristanetworks.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      38d40815
    • R
      rds: fix iband RDMA dependencies · abb79972
      Randy Dunlap 提交于
      Fix RDS Infiniband dependencies for RDMA so that these
      build errors won't happen:
      
      ERROR: "rdma_accept" [net/rds/rds.ko] undefined!
      ERROR: "rdma_destroy_id" [net/rds/rds.ko] undefined!
      ERROR: "rdma_connect" [net/rds/rds.ko] undefined!
      ERROR: "rdma_destroy_qp" [net/rds/rds.ko] undefined!
      ERROR: "rdma_listen" [net/rds/rds.ko] undefined!
      ERROR: "rdma_notify" [net/rds/rds.ko] undefined!
      ERROR: "rdma_create_id" [net/rds/rds.ko] undefined!
      ERROR: "rdma_create_qp" [net/rds/rds.ko] undefined!
      ERROR: "rdma_bind_addr" [net/rds/rds.ko] undefined!
      ERROR: "rdma_resolve_route" [net/rds/rds.ko] undefined!
      ERROR: "rdma_disconnect" [net/rds/rds.ko] undefined!
      ERROR: "rdma_reject" [net/rds/rds.ko] undefined!
      ERROR: "rdma_resolve_addr" [net/rds/rds.ko] undefined!
      Signed-off-by: NRandy Dunlap <randy.dunlap@oracle.com>
      Acked-by: NAndy Grover <andy.grover@oracle.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      abb79972
  2. 03 3月, 2009 33 次提交
  3. 02 3月, 2009 5 次提交