1. 29 6月, 2012 1 次提交
  2. 25 5月, 2012 1 次提交
  3. 01 2月, 2012 1 次提交
  4. 06 1月, 2012 1 次提交
  5. 05 1月, 2012 1 次提交
    • J
      Xen: consolidate and simplify struct xenbus_driver instantiation · 73db144b
      Jan Beulich 提交于
      The 'name', 'owner', and 'mod_name' members are redundant with the
      identically named fields in the 'driver' sub-structure. Rather than
      switching each instance to specify these fields explicitly, introduce
      a macro to simplify this.
      
      Eliminate further redundancy by allowing the drvname argument to
      DEFINE_XENBUS_DRIVER() to be blank (in which case the first entry from
      the ID table will be used for .driver.name).
      
      Also eliminate the questionable xenbus_register_{back,front}end()
      wrappers - their sole remaining purpose was the checking of the
      'owner' field, proper setting of which shouldn't be an issue anymore
      when the macro gets used.
      
      v2: Restore DRV_NAME for the driver name in xen-pciback.
      Signed-off-by: NJan Beulich <jbeulich@suse.com>
      Cc: Jens Axboe <axboe@kernel.dk>
      Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
      Cc: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
      Cc: Ian Campbell <ian.campbell@citrix.com>
      Cc: David S. Miller <davem@davemloft.net>
      Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
      73db144b
  6. 21 12月, 2011 1 次提交
  7. 07 12月, 2011 2 次提交
  8. 06 12月, 2011 1 次提交
  9. 22 11月, 2011 1 次提交
  10. 17 11月, 2011 1 次提交
  11. 26 10月, 2011 1 次提交
  12. 19 10月, 2011 1 次提交
  13. 06 10月, 2011 1 次提交
    • I
      xen: netback: convert to SKB paged frag API. · ea066ad1
      Ian Campbell 提交于
      netback currently uses frag->page to store a temporary index reference while
      processing incoming requests. Since frag->page is to become opaque switch
      instead to using page_offset. Add a wrapper to tidy this up and propagate the
      fact that the indexes are only u16 through the code (this was already true in
      practice but unsigned long and in were inconsistently used as variable and
      parameter types)
      Signed-off-by: NIan Campbell <ian.campbell@citrix.com>
      Cc: Ian Campbell <ian.campbell@citrix.com>
      Cc: xen-devel@lists.xensource.com
      Cc: netdev@vger.kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ea066ad1
  14. 04 10月, 2011 1 次提交
  15. 01 7月, 2011 1 次提交
  16. 18 5月, 2011 1 次提交
    • I
      xen: netback: use __CONST_RING_SIZE not __RING_SIZE · 11e73de7
      Ian Campbell 提交于
      The later causes warnings with gcc 4.5+. __CONST_RING_SIZE was introduced in
      667c78af to fix this but as netback wasn't upstream at the time it did not
      benefit, hence:
      
        CC      drivers/net/xen-netback/netback.o
      drivers/net/xen-netback/netback.c:110:37: warning: variably modified 'grant_copy_op' at file scope [enabled by default]
      drivers/net/xen-netback/netback.c:111:30: warning: variably modified 'meta' at file scope [enabled by default]
      drivers/net/xen-netback/netback.c: In function 'xen_netbk_rx_action':
      drivers/net/xen-netback/netback.c:584:6: warning: variable 'irq' set but not used [-Wunused-but-set-variable]
      
      Thanks to Witold Baryluk for pointing this out.
      Signed-off-by: NIan Campbell <ian.campbell@citrix.com>
      Cc: Witold Baryluk <baryluk@smp.if.uj.edu.pl>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      11e73de7
  17. 20 4月, 2011 1 次提交
  18. 07 4月, 2011 1 次提交
  19. 16 3月, 2011 1 次提交
    • I
      xen network backend driver · f942dc25
      Ian Campbell 提交于
      netback is the host side counterpart to the frontend driver in
      drivers/net/xen-netfront.c. The PV protocol is also implemented by
      frontend drivers in other OSes too, such as the BSDs and even Windows.
      
      The patch is based on the driver from the xen.git pvops kernel tree but
      has been put through the checkpatch.pl wringer plus several manual
      cleanup passes and review iterations. The driver has been moved from
      drivers/xen/netback to drivers/net/xen-netback.
      
      One major change from xen.git is that the guest transmit path (i.e. what
      looks like receive to netback) has been significantly reworked to remove
      the dependency on the out of tree PageForeign page flag (a core kernel
      patch which enables a per page destructor callback on the final
      put_page). This page flag was used in order to implement a grant map
      based transmit path (where guest pages are mapped directly into SKB
      frags). Instead this version of netback uses grant copy operations into
      regular memory belonging to the backend domain. Reinstating the grant
      map functionality is something which I would like to revisit in the
      future.
      
      Note that this driver depends on 2e820f58 "xen/irq: implement
      bind_interdomain_evtchn_to_irqhandler for backend drivers" which is in
      linux next via the "xen-two" tree and is intended for the 2.6.39 merge
      window:
              git://git.kernel.org/pub/scm/linux/kernel/git/konrad/xen.git stable/backends
      this branch has only that single commit since 2.6.38-rc2 and is safe for
      cross merging into the net branch.
      Signed-off-by: NIan Campbell <ian.campbell@citrix.com>
      Reviewed-by: NBen Hutchings <bhutchings@solarflare.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      f942dc25
新手
引导
客服 返回
顶部