diff options
author | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-11-10 21:26:14 +0530 |
---|---|---|
committer | Sridhar K. N. Rao <sridhar.rao@spirent.com> | 2021-11-10 21:27:45 +0530 |
commit | 4fa105c5b4113a9ff4311569709ca99a8fbf5028 (patch) | |
tree | 481ffea4b406da29e3dbf0dd29c4bb67a378be81 /tools/k8s/test-containers/trafficgen-pods/prox/vhost_substitute.sh | |
parent | ab6ee21423c20c101a5885924f08a46a86ce5b00 (diff) |
Minor Fixes.
This patch add multiple minor changes.
Signed-off-by: Sridhar K. N. Rao <sridhar.rao@spirent.com>
Change-Id: Ieda8af0b8145c1ffde6bfdb7a7394776b42df988
Diffstat (limited to 'tools/k8s/test-containers/trafficgen-pods/prox/vhost_substitute.sh')
-rwxr-xr-x | tools/k8s/test-containers/trafficgen-pods/prox/vhost_substitute.sh | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/k8s/test-containers/trafficgen-pods/prox/vhost_substitute.sh b/tools/k8s/test-containers/trafficgen-pods/prox/vhost_substitute.sh deleted file mode 100755 index b33f3521..00000000 --- a/tools/k8s/test-containers/trafficgen-pods/prox/vhost_substitute.sh +++ /dev/null @@ -1,19 +0,0 @@ -!/bin/bash - -# The first two commands update one of the 'if' checks to remove -# the check for 'master == VHOST_USER_SET_VRING_CALL'. -# -# Search for: " !(dev->flags & VIRTIO_DEV_VDPA_CONFIGURED) &&". -# Replace with: " !(dev->flags & VIRTIO_DEV_VDPA_CONFIGURED)) {". -sed -i -e 's/ !(dev->flags & VIRTIO_DEV_VDPA_CONFIGURED) &&/ !(dev->flags \& VIRTIO_DEV_VDPA_CONFIGURED)) {/g' lib/librte_vhost/vhost_user.c -# -# Search for line with: " msg.request.master == VHOST_USER_SET_VRING_CALL) {". -# Delete the line. -sed -i -e '/ msg\.request\.master == VHOST_USER_SET_VRING_CALL) {/d' lib/librte_vhost/vhost_user.c - - -# Force an RARP message to be sent out. -# -# Search for line with: " hw->started = true;". -# Append line: " virtio_notify_peers(dev);". -sed -i -e '/ hw->started = true;/a virtio_notify_peers(dev);' drivers/net/virtio/virtio_ethdev.c |