similar to: [PATCH 1/3] virtio_net: pass well-formed sgs to virtqueue_add_*()

Displaying 20 results from an estimated 100 matches similar to: "[PATCH 1/3] virtio_net: pass well-formed sgs to virtqueue_add_*()"

2014 Sep 07
0
[PATCH 1/3] virtio_net: pass well-formed sgs to virtqueue_add_*()
On Fri, Sep 05, 2014 at 12:40:50PM +0200, Paolo Bonzini wrote: > Il 03/09/2014 06:29, Rusty Russell ha scritto: > > + sg_init_table(rq->sg, MAX_SKB_FRAGS + 2); > > I think 2 is enough here. That said... > > > sg_set_buf(rq->sg, &hdr->hdr, sizeof hdr->hdr); > > - > > skb_to_sgvec(skb, rq->sg + 1, 0, skb->len); > > > >
2014 Sep 03
0
[PATCH 1/3] virtio_net: pass well-formed sgs to virtqueue_add_*()
This is the only driver which doesn't hand virtqueue_add_inbuf and virtqueue_add_outbuf a well-formed, well-terminated sg. Fix it, so we can make virtio_add_* simpler. pktgen results: modprobe pktgen echo 'add_device eth0' > /proc/net/pktgen/kpktgend_0 echo nowait 1 > /proc/net/pktgen/eth0 echo count 1000000 > /proc/net/pktgen/eth0 echo clone_skb 100000 >
2008 Apr 04
1
DO NOT REPLY [Bug 5373] New: rsync uses more space in destination even with -S specified
https://bugzilla.samba.org/show_bug.cgi?id=5373 Summary: rsync uses more space in destination even with -S specified Product: rsync Version: 2.6.2 Platform: PA-RISC OS/Version: AIX Status: NEW Severity: major Priority: P3 Component: core AssignedTo: wayned@samba.org
2009 May 01
0
need help - small code
Hi R-users,   I would like to transform my data using gamma, my data are ahll, bhall and dp1 as shown below:   > ahall      ah1  ah2  ah3  ah4  ah5  ah6  ah7  ah8  ah9 ah10 ah11 ah12 [1,] 0.9 1.01 1.24 1.85 1.85 2.45 3.67 3.02 3.06 2.33 1.86 0.96   > bhall        bh1   bh2   bh3   bh4  bh5   bh6   bh7   bh8   bh9  bh10  bh11  bh12 [1,] 48.39 44.26 37.34 29.93 33.5 26.54 20.26 25.73 20.14
2008 Sep 12
4
Custom build kernel patch fails big time.
I am trying to build a custom kernel for the HIPL code (infrahip.hip.fi), using the patch for the Linux 2.6.18 kernel. I followed all the instructions for getting the kernel source and making a custom kernel provided on the wiki. The rpmbuild fails with the following messages: Get an error on this step (figured out my other problem): Patch #40000
2012 Oct 10
5
Theora integration question
Hello, I am programmer working on a product which integrates Theora. I have a question regarding the memory use on some of the internals of Theora. Is this the right forum for this question, and if not, does anyone know where an appropriate place to ask is? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL:
2016 Feb 15
1
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
Why not fix the new names instead to be like the old names? Seems like that would be way simpler... On Feb 15, 2016 12:38 AM, "Ben Skeggs" <skeggsb at gmail.com> wrote: > From: Ben Skeggs <bskeggs at redhat.com> > > We've previously had identical naming between vertex and texture > formats, so it mostly made sense to define these together. > > However,
2016 Feb 15
0
[PATCH 09/23] nv50-: separate vertex formats from surface format descriptions
From: Ben Skeggs <bskeggs at redhat.com> We've previously had identical naming between vertex and texture formats, so it mostly made sense to define these together. However, upcoming patches are going to transition the driver over to using updated texture header definitions using NVIDIA's naming, and this will no longer be the case. Signed-off-by: Ben Skeggs <bskeggs at
2018 Nov 13
0
centos 7.5 crashed, kernel BUG at net/core/skbuff.c:3668!
... [ 176.025679] random: crng init done [ 411.168635] netem: version 1.3 [ 456.059840] ------------[ cut here ]------------ [ 456.059849] WARNING: CPU: 4 PID: 1918 at net/ipv4/tcp_output.c:1048 tcp_set_skb_tso_segs+0xeb/0x100 [ 456.059851] Modules linked in: sch_netem cirrus ttm drm_kms_helper crc32_pclmul syscopyarea ghash_clmulni_intel sysfillrect sysimgblt fb_sys_fops aesni_intel lrw
2005 Aug 17
2
MMX loop filter for theora-exp
Hello, I would like to announce the semi-optimized oc_state_loop_filter_frag_rows It gains like 7% speedup. Unfortunately it has some issues: 1) wont compile on 64bit (I will fix it later hopefully) 2) is not yet fully optimized (instruction stalls) Here are the results. CPU: Athlon, speed 1466.91 MHz (estimated) Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask
2011 Oct 05
0
[PATCH 3/8] xen: netfront: convert to SKB paged frag API.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Cc: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com> Cc: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> Cc: xen-devel@lists.xensource.com Cc: netdev@vger.kernel.org --- drivers/net/xen-netfront.c | 34 +++++++++++++++++++--------------- 1 files changed, 19 insertions(+), 15 deletions(-) diff --git
2016 Feb 15
24
[PATCH 01/23] nv50: import updated g80_defs.xml.h from rnndb
From: Ben Skeggs <bskeggs at redhat.com> Signed-off-by: Ben Skeggs <bskeggs at redhat.com> --- src/gallium/drivers/nouveau/nv50/g80_defs.xml.h | 279 ++++++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 src/gallium/drivers/nouveau/nv50/g80_defs.xml.h diff --git a/src/gallium/drivers/nouveau/nv50/g80_defs.xml.h
2004 Apr 22
2
IPsec - got ESP going, but not AH
Hi folks, I've been working on getting my WiFi network running with IPsec. I'm at the point where all traffic on the wifi subnet is encrypted (i.e. ESP). Then I tried to add AH to the equation. I failed. This picture describes the network setup: http://beta.freebsddiary.org/images/ipsec-wireless.gif Here's what I'm trying and failing with. With these rules, I get no
2014 Sep 01
1
[PATCH 1/3] virtio_ring: Remove sg_next indirection
On Sun, Aug 31, 2014 at 06:42:38PM -0700, Andy Lutomirski wrote: > On Sun, Aug 31, 2014 at 5:58 PM, Rusty Russell <rusty at rustcorp.com.au> wrote: > > Andy Lutomirski <luto at amacapital.net> writes: > >> The only unusual thing about virtio's use of scatterlists is that > >> two of the APIs accept scatterlists that might not be terminated. > >>
2014 Sep 01
1
[PATCH 1/3] virtio_ring: Remove sg_next indirection
On Sun, Aug 31, 2014 at 06:42:38PM -0700, Andy Lutomirski wrote: > On Sun, Aug 31, 2014 at 5:58 PM, Rusty Russell <rusty at rustcorp.com.au> wrote: > > Andy Lutomirski <luto at amacapital.net> writes: > >> The only unusual thing about virtio's use of scatterlists is that > >> two of the APIs accept scatterlists that might not be terminated. > >>
2008 Mar 03
0
Escape carriage returns (\r)?
Hi, I was trying to get Google Calendar to import a gem-generated file with no luck (it kept giving me the unhelpful message "parse error," even though http://severinghaus.org/projects/icv/ accepted the file as valid). After a bunch of screwing around, I changed line 148 of component.rb to include a .gsub("\r", "\\r"), which fixed the problem. It seems like line
2010 Mar 25
1
Icalendar::UnknownPropertyMethod: Unknown property type: on Parsing a ical file
I downloaded the ics from http://www.thegreenerleithsocial.org/events/cleanup-the-cycle-path and tried to parse it in my rails app console: ?> cal_file = File.open("/tmp/Clean_up the Cycle Path-1.ics") => #<File:/tmp/Clean_up the Cycle Path-1.ics> >> cals = Icalendar.parse(cal_file) Icalendar::UnknownPropertyMethod: Unknown property type: website from
2014 Sep 01
0
[PATCH 1/3] virtio_ring: Remove sg_next indirection
On Sun, Aug 31, 2014 at 5:58 PM, Rusty Russell <rusty at rustcorp.com.au> wrote: > Andy Lutomirski <luto at amacapital.net> writes: >> The only unusual thing about virtio's use of scatterlists is that >> two of the APIs accept scatterlists that might not be terminated. >> Using function pointers to handle this case is overkill; for_each_sg >> can do it.
2014 Sep 01
2
[PATCH 1/3] virtio_ring: Remove sg_next indirection
Andy Lutomirski <luto at amacapital.net> writes: > The only unusual thing about virtio's use of scatterlists is that > two of the APIs accept scatterlists that might not be terminated. > Using function pointers to handle this case is overkill; for_each_sg > can do it. > > There's a small subtlely here: for_each_sg assumes that the provided > count is correct,
2014 Sep 01
2
[PATCH 1/3] virtio_ring: Remove sg_next indirection
Andy Lutomirski <luto at amacapital.net> writes: > The only unusual thing about virtio's use of scatterlists is that > two of the APIs accept scatterlists that might not be terminated. > Using function pointers to handle this case is overkill; for_each_sg > can do it. > > There's a small subtlely here: for_each_sg assumes that the provided > count is correct,