Skip to content

Commit

Permalink
net/vhost: add missing newline in logs
Browse files Browse the repository at this point in the history
[ upstream commit d539a20b7561d9e97d13f9b43d74ec030bd1a4ba ]

Fixes: 3f8ff12 ("vhost: support interrupt mode")
Fixes: 8f1750f ("net/vhost: perform SW checksum in Rx path")
Fixes: 8ba1723 ("net/vhost: perform SW checksum in Tx path")

Signed-off-by: David Marchand <david.marchand@redhat.com>
Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
  • Loading branch information
david-marchand authored and kevintraynor committed Mar 21, 2023
1 parent b3225c2 commit 14297e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/net/vhost/rte_eth_vhost.c
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,7 @@ eth_rxq_intr_disable(struct rte_eth_dev *dev, uint16_t qid)

ret = rte_vhost_get_vhost_vring(vq->vid, (qid << 1) + 1, &vring);
if (ret < 0) {
VHOST_LOG(ERR, "Failed to get rxq%d's vring", qid);
VHOST_LOG(ERR, "Failed to get rxq%d's vring\n", qid);
return ret;
}
VHOST_LOG(INFO, "Disable interrupt for rxq%d\n", qid);
Expand Down Expand Up @@ -820,7 +820,7 @@ new_device(int vid)
if (dev_conf->intr_conf.rxq) {
if (eth_vhost_install_intr(eth_dev) < 0) {
VHOST_LOG(INFO,
"Failed to install interrupt handler.");
"Failed to install interrupt handler.\n");
return -1;
}
}
Expand Down Expand Up @@ -1156,7 +1156,7 @@ eth_dev_start(struct rte_eth_dev *eth_dev)
if (dev_conf->intr_conf.rxq) {
if (eth_vhost_install_intr(eth_dev) < 0) {
VHOST_LOG(INFO,
"Failed to install interrupt handler.");
"Failed to install interrupt handler.\n");
return -1;
}
}
Expand Down

0 comments on commit 14297e3

Please sign in to comment.