Project

General

Profile

Actions

Bug #20697

closed

dpdk:Correction of comparison statement ceph/src/dpdk/app/test-pmd/cmdline.c

Added by Amit Kumar almost 7 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

code is wrongly written. In place of comparison, initialization was done inside if statement.
cmd_config_rxtx_queue_parsed(void *parsed_result,
attribute((unused)) struct cmdline *cl,
attribute((unused)) void *data)

if (port_is_started(res->portid) = 1) {
}
should be replaced with

if (port_is_started(res->portid) == 1) {
}

Actions #1

Updated by Amit Kumar almost 7 years ago

  • Subject changed from dpdk:Correction of comparison statement eph/src/dpdk/app/test-pmd/cmdline.c to dpdk:Correction of comparison statement ceph/src/dpdk/app/test-pmd/cmdline.c

Looks dpdk module is managed separately from ceph ceph/dpdk.
Issue looks to be fixed in ceph/dpdk repository but not inside
ceph/src/dpdk/app/test-pmd/cmdline.c

Actions #2

Updated by Ilya Dryomov over 6 years ago

  • Project changed from Linux kernel client to Ceph

Not a kernel client issue.

Actions #3

Updated by Sage Weil almost 3 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF