DPDK usage discussions
 help / color / Atom feed
* [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4
@ 2019-05-31 20:54 Vincent Li
  2019-06-03 13:56 ` Wiles, Keith
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Li @ 2019-05-31 20:54 UTC (permalink / raw)
  To: users

Hi,

I am running Pktgen 3.6.6 + DPDK 18.11.1. when I ran Pktgen with
bonding as  ( Pktgen runs fine without bonding and pass packet ok):

root@compute1:/home/dpdk/pktgen-3.6.6#
./app/x86_64-native-linuxapp-gcc/pktgen -c ff
--vdev='net_bonding0,mode=4,xmit_policy=l34,slave=0000:01:00.0,slave=0000:01:00.1'
-- -P -m [1:2-7].2

I got:

 bond_ethdev_lsc_event_callback(2705) - Invalid link properties for
slave 0 in bonding mode 4

bond_ethdev_lsc_event_callback(2705) - Invalid link properties for
slave 1 in bonding mode 4

the full screen text as below:

root@compute1:/home/dpdk/pktgen-3.6.6#
./app/x86_64-native-linuxapp-gcc/pktgen -c ff
--vdev='net_bonding0,mode=4,xmit_policy=l34,slave=0000:01:00.0,slave=0000:01:00.1'
-- -P -m [1:2-7].2


Copyright (c) <2010-2019>, Intel Corporation. All rights reserved.
Powered by DPDK

EAL: Detected 8 lcore(s)

EAL: Detected 1 NUMA nodes

EAL: Multi-process socket /var/run/dpdk/rte/mp_socket

EAL: Probing VFIO support...

EAL: PCI device 0000:01:00.0 on NUMA socket -1

EAL:   Invalid NUMA socket, default to 0

EAL:   probe driver: 8086:10fb net_ixgbe

EAL: PCI device 0000:01:00.1 on NUMA socket -1

EAL:   Invalid NUMA socket, default to 0

EAL:   probe driver: 8086:10fb net_ixgbe

bond_ethdev_mode_set(1684) - Using mode 4, it is necessary to do TX
burst and RX burst at least every 100ms.

Lua 5.3.1  Copyright (C) 1994-2015 Lua.org, PUC-Rio


*** Copyright (c) <2010-2019>, Intel Corporation. All rights reserved.

*** Pktgen created by: Keith Wiles -- >>> Powered by DPDK <<<


Initialize Port 2 -- TxQ 6, RxQ 1,  Src MAC 90:e2:ba:93:26:0c


Device with port_id=0 already stopped

Device with port_id=1 already stopped

Port  2: Link Down <Enable promiscuous mode>


  RX processing lcore:   1 rx:  1 tx:  0

  TX processing lcore:   2 rx:  0 tx:  1

  TX processing lcore:   3 rx:  0 tx:  1

  TX processing lcore:   4 rx:  0 tx:  1

  TX processing lcore:   5 rx:  0 tx:  1

  TX processing lcore:   6 rx:  0 tx:  1

  TX processing lcore:   7 rx:  0 tx:  1


| Ports 0-2 of 3   <Main Page>  Copyright (c) <2010-2019>, Intel Corporation

  Flags:Port        :
P--------------:2

Link State          :                         ----TotalRate--
<UP-20000-HD>

Pkts/s Max/Rx       :                                       3/0

       Max/Tx       :                                       0/0

MBits/s Rx/Tx       :                                       0/0

Broadcast           :
         0

Multicast           :
         0

Sizes 64            :
         0

      65-127        :
         0

      128-255       :
         0

      256-511       :
         0

      512-1023      :
         0

      1024-1518     :
         0

Runts/Jumbos        :
       0/0

ARP/ICMP Pkts       :
       0/0

Errors Rx/Tx        :
       0/0

Total Rx Pkts       :
         8

      Tx Pkts       :
         0

      Rx MBs        :
         0

      Tx MBs        :
         0

                    :

Pattern Type        :
   abcd...

Tx Count/% Rate     :
Forever /100%

Pkt Size/Tx Burst   :
 64 /   64

Port Src/Dest       :
1234 / 5678

Pkt Type:VLAN ID    :                                             IPv4
/ TCP:0001

802.1p CoS/DSCP/IPP :
 0/  0/  0

VxLAN Flg/Grp/vid   :                                            0000/
   0/    0

IP  Destination     :
192.168.3.1

    Source          :
192.168.2.1/24

MAC Destination     :
00:00:00:00:00:00

    Source          :
90:e2:ba:93:26:0c

PCI Vendor/Addr     :
0000:0000/00:00.0


-- Pktgen Ver: 3.6.6 (DPDK 18.11.1)  Powered by DPDK  (pid:28799) -------------


** Version: DPDK 18.11.1, Command Line Interface without timers

Pktgen:/> bond_ethdev_lsc_event_callback(2705) - Invalid link
properties for slave 0 in bonding mode 4

bond_ethdev_lsc_event_callback(2705) - Invalid link properties for
slave 1 in bonding mode 4


Pktgen:/>

Pktgen can't transmit packet when I "start 2" after setting the
correct dst ip, dst mac, dport

/ Ports 0-2 of 3   <Main Page>  Copyright (c) <2010-2019>, Intel Corporation

  Flags:Port        :
P--------------:2

Link State          :                         ----TotalRate--
<UP-20000-HD> <---------

Pkts/s Max/Rx       :                                       3/0

       Max/Tx       :                                       0/0

MBits/s Rx/Tx       :                                       0/0

Broadcast           :
         0

Multicast           :
         0

Sizes 64            :
         0

      65-127        :
         0

      128-255       :
         0

      256-511       :
         0

      512-1023      :
         0

      1024-1518     :
         0

Runts/Jumbos        :
       0/0

ARP/ICMP Pkts       :
       0/0

Errors Rx/Tx        :
       0/0

Total Rx Pkts       :
        15

      Tx Pkts       :
         0

      Rx MBs        :
         0

      Tx MBs        :
         0

                    :

Pattern Type        :
   abcd...

Tx Count/% Rate     :
Forever /100%

Pkt Size/Tx Burst   :
 64 /   64

Port Src/Dest       :
1234 /   80

Pkt Type:VLAN ID    :                                             IPv4
/ TCP:0001

802.1p CoS/DSCP/IPP :
 0/  0/  0

VxLAN Flg/Grp/vid   :                                            0000/
   0/    0

IP  Destination     :
  10.8.8.1

    Source          :
192.168.2.1/24

MAC Destination     :
52:54:00:3f:b9:c2

    Source          :
90:e2:ba:93:26:0c

PCI Vendor/Addr     :
0000:0000/00:00.0


-- Pktgen Ver: 3.6.6 (DPDK 18.11.1)  Powered by DPDK  (pid:28825) -------------

Pktgen:/> set 2 dport 80

Pktgen:/> set 2 dst ip 10.8.8.1

Pktgen:/> set 2 dst mac 52:54:00:3f:b9:c2

Pktgen:/> start 2

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4
  2019-05-31 20:54 [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4 Vincent Li
@ 2019-06-03 13:56 ` Wiles, Keith
  2019-06-04 15:06   ` Vincent Li
  0 siblings, 1 reply; 6+ messages in thread
From: Wiles, Keith @ 2019-06-03 13:56 UTC (permalink / raw)
  To: Vincent Li; +Cc: users



> On May 31, 2019, at 3:54 PM, Vincent Li <vincent.mc.li@gmail.com> wrote:
> 
> Hi,
> 
> I am running Pktgen 3.6.6 + DPDK 18.11.1. when I ran Pktgen with
> bonding as  ( Pktgen runs fine without bonding and pass packet ok):
> 
> root@compute1:/home/dpdk/pktgen-3.6.6#
> ./app/x86_64-native-linuxapp-gcc/pktgen -c ff
> --vdev='net_bonding0,mode=4,xmit_policy=l34,slave=0000:01:00.0,slave=0000:01:00.1'
> -- -P -m [1:2-7].2

I am looking at the problem, it does appear something change.


Regards,
Keith


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4
  2019-06-03 13:56 ` Wiles, Keith
@ 2019-06-04 15:06   ` Vincent Li
  2019-06-04 15:51     ` Wiles, Keith
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Li @ 2019-06-04 15:06 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: users

> I am looking at the problem, it does appear something change.
>

thanks Keith for looking into it, I guess I can try some older version
of DPDK and pktgen, what version that might be?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4
  2019-06-04 15:06   ` Vincent Li
@ 2019-06-04 15:51     ` Wiles, Keith
  2019-06-11 16:06       ` Vincent Li
  0 siblings, 1 reply; 6+ messages in thread
From: Wiles, Keith @ 2019-06-04 15:51 UTC (permalink / raw)
  To: Vincent Li; +Cc: users

> On Jun 4, 2019, at 10:06 AM, Vincent Li <vincent.mc.li@gmail.com> wrote:
> 
>> I am looking at the problem, it does appear something change.
>> 
> 
> thanks Keith for looking into it, I guess I can try some older version
> of DPDK and pktgen, what version that might be?
It would be pretty old and I have no idea which version would work :-(

Regards,
Keith


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4
  2019-06-04 15:51     ` Wiles, Keith
@ 2019-06-11 16:06       ` Vincent Li
  2019-06-11 16:27         ` Wiles, Keith
  0 siblings, 1 reply; 6+ messages in thread
From: Vincent Li @ 2019-06-11 16:06 UTC (permalink / raw)
  To: Wiles, Keith; +Cc: users

> > thanks Keith for looking into it, I guess I can try some older version
> > of DPDK and pktgen, what version that might be?
> It would be pretty old and I have no idea which version would work :-(

FYI, I tested DPDK 18.11.1 testpmd txonly mode with bonding, it
appears working ok, I guess the the problem is in pktgen, not in DPDK
then, correct?

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4
  2019-06-11 16:06       ` Vincent Li
@ 2019-06-11 16:27         ` Wiles, Keith
  0 siblings, 0 replies; 6+ messages in thread
From: Wiles, Keith @ 2019-06-11 16:27 UTC (permalink / raw)
  To: Vincent Li; +Cc: users



> On Jun 11, 2019, at 11:06 AM, Vincent Li <vincent.mc.li@gmail.com> wrote:
> 
>>> thanks Keith for looking into it, I guess I can try some older version
>>> of DPDK and pktgen, what version that might be?
>> It would be pretty old and I have no idea which version would work :-(
> 
> FYI, I tested DPDK 18.11.1 testpmd txonly mode with bonding, it
> appears working ok, I guess the the problem is in pktgen, not in DPDK
> then, correct?

Yes, I had assumed it was in Pktgen. I am working on get some help from the bonding PMD folk to see what the problem is with the configuration in Pktgen.

Regards,
Keith


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, back to index

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-31 20:54 [dpdk-users] pktgen:I nvalid link properties for slave 0 in bonding mode 4 Vincent Li
2019-06-03 13:56 ` Wiles, Keith
2019-06-04 15:06   ` Vincent Li
2019-06-04 15:51     ` Wiles, Keith
2019-06-11 16:06       ` Vincent Li
2019-06-11 16:27         ` Wiles, Keith

DPDK usage discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/users/0 users/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 users users/ http://inbox.dpdk.org/users \
		users@dpdk.org
	public-inbox-index users


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.users


AGPL code for this site: git clone https://public-inbox.org/ public-inbox