X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=examples%2Fvhost_xen%2Fvirtio-net.h;h=c8c5a7a3e178f1c75b7ee6853c69751223fdc40c;hb=3031749c2df04a63cdcef186dcce3781e61436e8;hp=8051a890572b8f06b2903ddebf0df84f9dad2b63;hpb=d10296d7ea9c7e4f0da51ff2fb9c89b838e06940;p=dpdk.git diff --git a/examples/vhost_xen/virtio-net.h b/examples/vhost_xen/virtio-net.h index 8051a89057..c8c5a7a3e1 100644 --- a/examples/vhost_xen/virtio-net.h +++ b/examples/vhost_xen/virtio-net.h @@ -1,13 +1,13 @@ /*- * BSD LICENSE - * + * * Copyright(c) 2010-2014 Intel Corporation. All rights reserved. * All rights reserved. - * + * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: - * + * * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright @@ -17,7 +17,7 @@ * * Neither the name of Intel Corporation nor the names of its * contributors may be used to endorse or promote products derived * from this software without specific prior written permission. - * + * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR @@ -59,7 +59,7 @@ struct vhost_virtqueue */ struct virtio_net { - struct vhost_virtqueue *virtqueue_tx; /* Contains all TX virtqueue information. */ + struct vhost_virtqueue *virtqueue_tx; /* Contains all TX virtqueue information. */ struct vhost_virtqueue *virtqueue_rx; /* Contains all RX virtqueue information. */ struct virtio_memory *mem; /* QEMU memory and memory region information. */ struct ether_addr mac_address; /* Device MAC address (Obtained on first TX packet). */ @@ -72,7 +72,7 @@ struct virtio_net volatile uint8_t remove; /* Device is marked for removal from the data core. */ uint32_t virtio_idx; /* Index of virtio device */ uint32_t dom_id; /* Domain id of xen guest */ -} ___rte_cache_aligned; +} ___rte_cache_aligned; /* * Device linked list structure for configuration. @@ -84,7 +84,7 @@ struct virtio_net_config_ll }; /* - * Information relating to memory regions including offsets to addresses in QEMUs memory file. + * Information relating to memory regions including offsets to addresses in QEMUs memory file. */ struct virtio_memory_regions { uint64_t guest_phys_address; /* Base guest physical address of region. */ @@ -95,7 +95,7 @@ struct virtio_memory_regions { }; /* - * Memory structure includes region and mapping information. + * Memory structure includes region and mapping information. */ struct virtio_memory { uint32_t nregions; /* Number of memory regions. */