From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 323EE42913 for ; Tue, 11 Apr 2023 00:48:12 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A9E2D40DFD; Tue, 11 Apr 2023 00:48:11 +0200 (CEST) Received: from mail-vs1-f46.google.com (mail-vs1-f46.google.com [209.85.217.46]) by mails.dpdk.org (Postfix) with ESMTP id AC07240C35 for ; Tue, 11 Apr 2023 00:48:10 +0200 (CEST) Received: by mail-vs1-f46.google.com with SMTP id b26so5820761vsa.11 for ; Mon, 10 Apr 2023 15:48:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=utexas-edu.20210112.gappssmtp.com; s=20210112; t=1681166889; x=1683758889; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=LPwx23NIt4ScIz7leHhiebprgAaNU8wCzNRTswO7T7E=; b=EMmR8x86sQGo0c3TVe8CjuxlsKHXbCaxCKg/uFQCGebQrGpxfubCZKnFRjVuvsI1oj /765JIKvTo6/JOMzUNY/8swB0PxmPcvlmwaWK6IhSJnjdqLlYmz+9McbjNzeTLyWr1lm IP+CPpqm9+YUJFOZcZ6M8YeJtUwMBU+3H3UZu8HlyjeDoLarywbzfx/PVys4HR6oO+LM xSeIkdnO2U/U849IqlW7foFbusZQ/nLxSNa5H82pJeo0ue0X6u6EqITe793ldk9Eli1S g5nTVgla8BSBnQBmvqWZqiEfx6tFp9bVMZ0vWDVdVJoIgGQIblZQPwN0/2VmKYYk2SWQ ae9Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1681166889; x=1683758889; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=LPwx23NIt4ScIz7leHhiebprgAaNU8wCzNRTswO7T7E=; b=4x/Aq33bXx7Tjf8FMcIxJ7htLPbohQucqpK2mlfH+AxMU9zp505/kp/DiGBEHL2fWR H+KNfz7Goz/bbOeBN5TehObkN7dSdD6rjpVHLzDeXJCfBEMpamxcOnFtFQYDunJxDI51 ixew+U2Jz05lHRngGRrY6LU/yvrDeeVfUacI0gOZ+AHth+K18TsW2+GvFXAtCP++LaaN 1cigA1kZOLgyPGkpyy/SjGycbAPJZJcivuCKNFwtBb2rSIrhHykjkT13mNbS6v9tnibA 2vOGyDtkifcMoCzMVHCHa0hu6kSHQBntbYiG6ErUfMich3ypEJJ5CV+Nncl/KJmVGn0K yO+w== X-Gm-Message-State: AAQBX9dhmSW05DaQAg5Sf7n5BMBhn9OJiOyDtQY7nZK6V//aLSznuypO gs5oxjzY1xO4ldavhV9GP8+JA78MD4Fh4+sUtWyiJ3Yu2o7GYKkBzMPQ8w== X-Google-Smtp-Source: AKy350alw/+tGCQ6/Q+VyXSG83dr4kpzis7f0PAkbuHkeyLP61on4BKAQbY56+fHEEy0t+tHswRy9pddVkHmYuXMkYM= X-Received: by 2002:a67:cc0f:0:b0:42c:74a1:424f with SMTP id q15-20020a67cc0f000000b0042c74a1424fmr592206vsl.1.1681166889669; Mon, 10 Apr 2023 15:48:09 -0700 (PDT) MIME-Version: 1.0 From: Dinesh Kumar Date: Mon, 10 Apr 2023 18:47:59 -0400 Message-ID: Subject: How to use --vdev Options for ./dpdk-l3fwd? To: users@dpdk.org Content-Type: multipart/alternative; boundary="00000000000044723605f9032b32" X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --00000000000044723605f9032b32 Content-Type: text/plain; charset="UTF-8" Hi There, I am new to the DPDK example and having issue with using --vdev options for DPDK example and it is throwing the below error. ./dpdk-l3fwd --log-level *:debug -c f -n 4 -- -p 0x3 --vdev 'net_pcap0,rx_pcap=input.pcap,tx_pcap=output.pcap' ----------------------- iavf_check_api_version(): Peer is supported PF host iavf_read_msg_from_pf(): Can't read msg from AQ iavf_read_msg_from_pf(): AQ from pf carries opcode 3, retval 0 iavf_dev_alarm_handler(): ICR01_ADMINQ is reported iavf_handle_pf_event_msg(): VIRTCHNL_EVENT_LINK_CHANGE event iavf_handle_virtchnl_msg(): adminq response is received, opcode = 26 EAL: lib.telemetry log level changed from disabled to debug TELEMETRY: Attempting socket bind to path '/var/run/dpdk/rte/dpdk_telemetry.v2' TELEMETRY: Socket creation and binding ok TELEMETRY: Telemetry initialized ok TELEMETRY: No legacy callbacks, legacy socket not created *./dpdk-l3fwd: unrecognized option '--vdev'* ./dpdk-l3fwd [EAL options] -- -p PORTMASK [-P] [--lookup] --config (port,queue,lcore)[,(port,queue,lcore)] [--rx-queue-size NPKTS] [--tx-queue-size NPKTS] [--eth-dest=X,MM:MM:MM:MM:MM:MM] [--max-pkt-len PKTLEN] [--no-numa] [--hash-entry-num] [--ipv6] [--parse-ptype] [--per-port-pool] [--mode] [--eventq-sched] [--event-vector [--event-vector-size SIZE] [--event-vector-tmo NS]] [-E] [-L] please let me know if I am missing some options that need to be added with --vdev Thanks, Dinesh Kumar --00000000000044723605f9032b32 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi There,
I am new to the DPDK example and having=C2= =A0issue with using=C2=A0 --vdev options for DPDK example and it is throwin= g the below=C2=A0error.

./dpdk-l3fwd --log-level *:debug = -c f -n 4 -- -p 0x3 --vdev 'net_pcap0,rx_pcap=3Dinput.pcap,tx_pcap=3Dou= tput.pcap'

-----------------------
iavf_check_api_version(): = Peer is supported PF host
iavf_read_msg_from_pf(): Can't read msg fr= om AQ
iavf_read_msg_from_pf(): AQ from pf carries opcode 3, retval 0
= iavf_dev_alarm_handler(): ICR01_ADMINQ is reported
iavf_handle_pf_event_= msg(): VIRTCHNL_EVENT_LINK_CHANGE event
iavf_handle_virtchnl_msg(): admi= nq response is received, opcode =3D 26
EAL: lib.telemetry log level chan= ged from disabled to debug
TELEMETRY: Attempting socket bind to path = 9;/var/run/dpdk/rte/dpdk_telemetry.v2'
TELEMETRY: Socket creation an= d binding ok
TELEMETRY: Telemetry initialized ok
TELEMETRY: No legacy= callbacks, legacy socket not created
./dpdk-= l3fwd: unrecognized option '--vdev'
./dpdk-l3fwd [EAL= options] -- -p PORTMASK [-P] [--lookup] --config (port,queue,lcore)[,(port= ,queue,lcore)] [--rx-queue-size NPKTS] [--tx-queue-size NPKTS] [--eth-dest= =3DX,MM:MM:MM:MM:MM:MM] [--max-pkt-len PKTLEN] [--no-numa] [--hash-entry-nu= m] [--ipv6] [--parse-ptype] [--per-port-pool] [--mode] [--eventq-sched] [--= event-vector [--event-vector-size SIZE] [--event-vector-tmo NS]] [-E] [-L]<= br>
please let me know if I am missing=C2=A0some options that need to be= added with --vdev=C2=A0


Thanks,
Dinesh Kumar

--00000000000044723605f9032b32--