Lengthen watchdog timers and poll rings directly.

The mpe-ethernet test was causing too many watchdog warnings. I
think the watchdog code could still be improved but this should
stop the log spew.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Make transmitter stats 64-bits wide.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #18 from pauldu/master

Couple of patches
Dodgy patch for speculative SCTX fix

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge branch 'master' of github.com:xenserver/win-xenvif
Add a magic number to the frontend structure that can be checked
for in the mib callback. There's a suspicion that the callback may be
occuring after xenvif has unloaded.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Implement checksum verification as recommended in RFC1071.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #19 from pauldu/ca-127851

Implement checksum verification as recommended in RFC1071.

Approved-By: Ben Chalmers <ben.chalmers@citrix.com>
Introduce granter abstraction

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Allocate grant references as needed rather than up-front.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Add missing argument to GranterGetReference().

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Switch to new GNTTAB interface.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #20 from pauldu/gnttab2

Granter abstraction and switch to new GNTTAB interface
Remove IP helper linkage (and hence dependency on netio.sys)

The linkage dependency on netio.sys prevents SDV from working. Since we need
the IP helper functionality there's no choice other than to remove the
linkage and replace it with run-time function lookup. Alas this is not as
simple as using MmGetSystemRoutineAddress() as that only works for kernel and
hal functions. We need to actually parse the netio.sys module export table
directly and then create thunks to jump into the code.

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Add SDV to normal driver build

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #24 from pauldu/netio

Get SDV working
Handle SDV scan and refine

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #25 from pauldu/netio

Handle SDV scan and refine
Re-order refine because it vapourizes the SDV summary log

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Remove erroneous #if 0s

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>