[dpdk-test-report] |WARNING| pw99095 [PATCH] net/virtio: fix virtio-user init when using existing tap

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 17 11:35:11 CEST 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#162: 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'?
#171: 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'?
#191: 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'?
#192: 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'?
#207: FILE: drivers/net/virtio/virtio_user/vhost_kernel.c:432:
+	if (tap_features & IFF_MULTI_QUEUE)

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

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

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

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

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

WARNING:TYPO_SPELLING: 'IFF' may be misspelled - perhaps 'IF'?
#342: FILE: drivers/net/virtio/virtio_user/vhost_kernel_tap.c:68:
+			multi_queue ? " with IFF_MULTI_QUEUE" : "",

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


More information about the test-report mailing list