automatic DPDK test reports
 help / color / mirror / Atom feed
From: checkpatch@dpdk.org
To: test-report@dpdk.org
Cc: David Marchand <david.marchand@redhat.com>
Subject: [dpdk-test-report] |WARNING| pw99870 [PATCH v2] net/virtio: fix virtio-user init when using existing tap
Date: Tue, 28 Sep 2021 10:52:38 +0200 (CEST)	[thread overview]
Message-ID: <20210928085238.E094A1206FE@dpdk.org> (raw)
In-Reply-To: <20210928085114.30737-1-david.marchand@redhat.com>

Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/99870

_coding style issues_


WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#172: FILE: drivers/net/virtio/virtio_user/vhost_kernel.c:143:
+	if (tap_flags & IFF_VNET_HDR) {

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#181: FILE: drivers/net/virtio/virtio_user/vhost_kernel.c:151:
+	if (tap_flags & IFF_MULTI_QUEUE)

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#201: FILE: drivers/net/virtio/virtio_user/vhost_kernel.c:393:
+	if ((tap_features & IFF_VNET_HDR) == 0) {

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#202: FILE: drivers/net/virtio/virtio_user/vhost_kernel.c:394:
+		PMD_INIT_LOG(ERR, "TAP does not support IFF_VNET_HDR");

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#217: FILE: drivers/net/virtio/virtio_user/vhost_kernel.c:432:
+	data->tapfds[0] = tap_open(ifname, (tap_features & IFF_MULTI_QUEUE) != 0);

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#228: FILE: drivers/net/virtio/virtio_user/vhost_kernel.c:443:
+	if ((tap_flags & IFF_MULTI_QUEUE) == 0 && dev->max_queue_pairs > 1) {

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#351: FILE: drivers/net/virtio/virtio_user/vhost_kernel_tap.c:64:
+	ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR;

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#351: FILE: drivers/net/virtio/virtio_user/vhost_kernel_tap.c:64:
+	ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR;

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#351: FILE: drivers/net/virtio/virtio_user/vhost_kernel_tap.c:64:
+	ifr.ifr_flags = IFF_TAP | IFF_NO_PI | IFF_VNET_HDR;

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#353: FILE: drivers/net/virtio/virtio_user/vhost_kernel_tap.c:66:
+		ifr.ifr_flags |= IFF_MULTI_QUEUE;

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#357: FILE: drivers/net/virtio/virtio_user/vhost_kernel_tap.c:70:
+				"TUNSETIFF failed (will retry without IFF_MULTI_QUEUE): %s",

total: 0 errors, 11 warnings, 0 checks, 412 lines checked

       reply	other threads:[~2021-09-28  8:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210928085114.30737-1-david.marchand@redhat.com>
2021-09-28  8:52 ` checkpatch [this message]
2021-10-05 22:59 [dpdk-test-report] |WARNING| pw99870 [PATCH] [v2] " dpdklab

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210928085238.E094A1206FE@dpdk.org \
    --to=checkpatch@dpdk.org \
    --cc=david.marchand@redhat.com \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).