]> git.proxmox.com Git - mirror_qemu.git/commit - tests/Makefile.include
net_pkt: Name vmxnet3 packet abstractions more generic
authorDmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Wed, 1 Jun 2016 08:23:39 +0000 (11:23 +0300)
committerJason Wang <jasowang@redhat.com>
Thu, 2 Jun 2016 02:42:27 +0000 (10:42 +0800)
commit605d52e62fc94ec28408890fc682d4bdd7d8a36c
treeb1278d6f17a947db198c2a88fb80431407eb45a7
parentab647872011205a18241ec1f8ce7dd57b7da9989
net_pkt: Name vmxnet3 packet abstractions more generic

This patch drops "vmx" prefix from packet abstractions names
to emphasize the fact they are generic and not tied to any
specific network device.

These abstractions will be reused by e1000e emulation implementation
introduced by following patches so their names need generalization.

This patch (except renamed files, adjusted comments and changes in MAINTAINTERS)
was produced by:

git grep -lz 'vmxnet_tx_pkt' | xargs -0 perl -i'' -pE "s/vmxnet_tx_pkt/net_tx_pkt/g"
git grep -lz 'vmxnet_rx_pkt' | xargs -0 perl -i'' -pE "s/vmxnet_rx_pkt/net_rx_pkt/g"
git grep -lz 'VmxnetTxPkt' | xargs -0 perl -i'' -pE "s/VmxnetTxPkt/NetTxPkt/g"
git grep -lz 'VMXNET_TX_PKT' | xargs -0 perl -i'' -pE "s/VMXNET_TX_PKT/NET_TX_PKT/g"
git grep -lz 'VmxnetRxPkt' | xargs -0 perl -i'' -pE "s/VmxnetRxPkt/NetRxPkt/g"
git grep -lz 'VMXNET_RX_PKT' | xargs -0 perl -i'' -pE "s/VMXNET_RX_PKT/NET_RX_PKT/g"
sed -ie 's/VMXNET_/NET_/g' hw/net/vmxnet_rx_pkt.c
sed -ie 's/VMXNET_/NET_/g' hw/net/vmxnet_tx_pkt.c

Signed-off-by: Dmitry Fleytman <dmitry.fleytman@ravellosystems.com>
Signed-off-by: Leonid Bloch <leonid.bloch@ravellosystems.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
12 files changed:
MAINTAINERS
hw/net/Makefile.objs
hw/net/net_rx_pkt.c [new file with mode: 0644]
hw/net/net_rx_pkt.h [new file with mode: 0644]
hw/net/net_tx_pkt.c [new file with mode: 0644]
hw/net/net_tx_pkt.h [new file with mode: 0644]
hw/net/vmxnet3.c
hw/net/vmxnet_rx_pkt.c [deleted file]
hw/net/vmxnet_rx_pkt.h [deleted file]
hw/net/vmxnet_tx_pkt.c [deleted file]
hw/net/vmxnet_tx_pkt.h [deleted file]
tests/Makefile