DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [Bug 287] netvsc PMD/dpdk/azure: Driver lockup with multi-queue configuration
@ 2019-05-30  0:10 bugzilla
  2019-05-30 16:05 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: bugzilla @ 2019-05-30  0:10 UTC (permalink / raw)
  To: dev

https://bugs.dpdk.org/show_bug.cgi?id=287

            Bug ID: 287
           Summary: netvsc PMD/dpdk/azure: Driver lockup with multi-queue
                    configuration
           Product: DPDK
           Version: 18.11
          Hardware: x86
                OS: Linux
            Status: CONFIRMED
          Severity: normal
          Priority: Normal
         Component: ethdev
          Assignee: dev@dpdk.org
          Reporter: mohsinmazhar_shaikh@trendmicro.com
  Target Milestone: ---

I am running an app using dpdk 18.11 netvsc PMD
(https://doc.dpdk.org/guides/nics/netvsc.html) on "Ubuntu 18.04 LTS" VM on
azure running kernel 4.18.0-1018
(https://launchpad.net/ubuntu/+source/linux-azure/4.18.0-1018.18). The app uses
multi-queue with 2 cores doing RX/TX. The lockup only occurs when doing a
connections/second test i.e. exercising the netvsc interface. When the lockup
occurs the netvsc interface and it's corresponding mellanox slave both can't
rx/tx packets.

I have the following changes to get things to work on azure:

1) I have the following patch applied: (bus/vmbus: fix race in subchannel
creation
https://git.dpdk.org/dpdk/commit/drivers/bus/vmbus?id=4970103e89f4f828669acf3b465e984fdc891e1e)

2) I have to use the same RSS key
(https://github.com/torvalds/linux/blob/master/drivers/net/hyperv/rndis_filter.c#L64)
and hash
function(https://github.com/torvalds/linux/blob/master/drivers/net/hyperv/rndis_filter.c#L808)
as the linux kernel hv_netvsc driver uses, otherwise RSS configuration fails
with following error:

(363.322995500) (363.322992500) hn_dev_configure():  >>
(363.323185400) hn_rndis_link_status(): link status 0x40020006
(363.323190700) hn_subchan_configure(): open 1 subchannels
(363.333765000) hn_subchan_configure(): new sub channel 1
(363.333777300) hn_rndis_conf_rss():  >>
(363.333854100) hn_rndis_set(): RNDIS set 0x10204 failed: status 0xc000000d
(363.333858700) hn_rndis_conf_rss(): RSS config num queues=2 failed: 5
(363.333862000) hn_dev_configure(): rss configuration failed
(363.333865300) Port2 dev_configure = 5
(363.333868600) hn_dev_rx_queue_release():  >>
(363.333871600) hn_dev_rx_queue_release():  >>
(363.333874600) hn_dev_tx_queue_release():  >>
(363.333877400) hn_dev_tx_queue_release():  >>
(363.333891600) Invalid TX queue_id=0

3) I have applied the same RSS key and function to mlx4 PMD.
4) The same traffic test works fine on single core configuration (no
multi-queue /RSS).


Init logs:

(292.634963700) EAL: Detected 16 lcore(s)
(292.635011300) EAL: Detected 1 NUMA nodes
(292.636773900) EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
(292.639073700) vmbus_scan_one(): Adding vmbus device
2dd1ce17-079e-403c-b352-a1921ee207ee
(292.639245800) vmbus_scan_one(): Adding vmbus device
58f75a6d-d949-4320-99e1-a2a2576d581c
(292.639338500) vmbus_scan_one(): Adding vmbus device
242ff919-07db-4180-9c2e-b86cb68c8c55
(292.639382200) vmbus_scan_one(): Adding vmbus device
00000000-0000-8899-0000-000000000000
(292.639428700) vmbus_scan_one(): Adding vmbus device
bbd25678-eea4-42d2-af80-020055c54520
(292.639472500) vmbus_scan_one(): Adding vmbus device
2450ee40-33bf-4fbd-892e-9fb06e9214cf
(292.639517900) vmbus_scan_one(): Adding vmbus device
000d3a71-ccd5-000d-3a71-ccd5000d3a71
(292.639562600) vmbus_scan_one(): Adding vmbus device
99221fa0-24ad-11e2-be98-001aa01bbf6e
(292.639672300) vmbus_scan_one(): Adding vmbus device
d34b2567-b9b6-42b9-8778-0a4ec0b955bf
(292.639730200) vmbus_scan_one(): Adding vmbus device
000d3a70-4764-000d-3a70-4764000d3a70
(292.639789600) vmbus_scan_one(): Adding vmbus device
fd149e91-82e0-4a7d-afa6-2a4166cbd7c0
(292.639858400) vmbus_scan_one(): Adding vmbus device
b6650ff7-33bc-4840-8048-e0676786f393
(292.639915800) vmbus_scan_one(): Adding vmbus device
f8b3781a-1e82-4818-a1c3-63d806ec15bb
(292.640013600) vmbus_scan_one(): Adding vmbus device
000d3a70-42e6-000d-3a70-42e6000d3a70
(292.640083400) vmbus_scan_one(): Adding vmbus device
00000000-0001-8899-0000-000000000000
(292.640153300) vmbus_scan_one(): Adding vmbus device
5620e0c7-8062-4dce-aeb7-520c7ef76171
(292.640211500) vmbus_scan_one(): Adding vmbus device
1eccfd72-4b41-45ef-b73a-4a6e44c12924
(292.640266600) vmbus_scan_one(): Adding vmbus device
f8b3781b-1e82-4818-a1c3-63d806ec15bb
(292.640387500) vmbus_scan_one(): Adding vmbus device
4487b255-b88c-403f-bb51-d1f69cf17f87
(292.640463500) vmbus_scan_one(): Adding vmbus device
b2aa7d1a-c4cb-4404-a753-c689ebfe421c
(292.640549800) vmbus_scan_one(): Adding vmbus device
f5bee29c-1741-4aad-a4c2-8fdedb46dcc2
(292.640899800) EAL: No free hugepages reported in hugepages-1048576kB
(292.640969700) EAL: Probing VFIO support...
(294.205068300) EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no ->
using unreliable clock cycles !
(294.221580300) EAL: PCI device 0002:00:02.0 on NUMA socket 0
(294.221628500) EAL:   probe driver: 15b3:1004 net_mlx4
(294.222367100) PMD: mlx4.c:543: mlx4_pci_probe(): checking device "mlx4_1"
(294.222442800) PMD: mlx4.c:543: mlx4_pci_probe(): checking device "mlx4_0"
(294.222488400) PMD: mlx4.c:554: mlx4_pci_probe(): PCI information matches,
using device "mlx4_0" (VF: true)
(294.223219000) PMD: mlx4.c:576: mlx4_pci_probe(): device opened
(294.223261300) PMD: mlx4.c:581: mlx4_pci_probe(): 1 port(s) detected
(294.226885200) PMD: mlx4.c:609: mlx4_pci_probe(): using port 1
(294.227774900) PMD: mlx4.c:664: mlx4_pci_probe(): checksum offloading is
supported
(294.227814700) PMD: mlx4.c:671: mlx4_pci_probe(): L2 tunnel checksum offloads
are not supported
(294.227825600) PMD: mlx4.c:675: mlx4_pci_probe(): supported RSS hash fields
mask: 00000000000000ff
(294.227833000) PMD: mlx4.c:678: mlx4_pci_probe(): MAX RSS queues 256
(294.227839500) PMD: mlx4.c:682: mlx4_pci_probe(): FCS stripping toggling is
supported
(294.227845800) PMD: mlx4.c:691: mlx4_pci_probe(): TSO is not supported
(294.227933000) PMD: mlx4.c:703: mlx4_pci_probe(): port 1 MAC address is
00:0d:3a:70:47:64
(294.227972500) PMD: mlx4.c:712: mlx4_pci_probe(): port 1 ifname is "mlx1"
(294.228030300) PMD: mlx4.c:719: mlx4_pci_probe(): port 1 MTU is 1500
(294.228845000) PMD: mlx4.c:758: mlx4_pci_probe(): forcing Ethernet interface
up
(294.229808300) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x2401f3c18 with table 0x24011ab80
(294.229873500) EAL: PCI device 0003:00:02.0 on NUMA socket 0
(294.229888400) EAL:   probe driver: 15b3:1004 net_mlx4
(294.230039800) PMD: mlx4.c:543: mlx4_pci_probe(): checking device "mlx4_1"
(294.230070200) PMD: mlx4.c:554: mlx4_pci_probe(): PCI information matches,
using device "mlx4_1" (VF: true)
(294.230585200) PMD: mlx4.c:576: mlx4_pci_probe(): device opened
(294.230616800) PMD: mlx4.c:581: mlx4_pci_probe(): 1 port(s) detected
(294.231248000) PMD: mlx4.c:609: mlx4_pci_probe(): using port 1
(294.232055000) PMD: mlx4.c:664: mlx4_pci_probe(): checksum offloading is
supported
(294.232089100) PMD: mlx4.c:671: mlx4_pci_probe(): L2 tunnel checksum offloads
are not supported
(294.232099500) PMD: mlx4.c:675: mlx4_pci_probe(): supported RSS hash fields
mask: 00000000000000ff
(294.232106800) PMD: mlx4.c:678: mlx4_pci_probe(): MAX RSS queues 256
(294.232113000) PMD: mlx4.c:682: mlx4_pci_probe(): FCS stripping toggling is
supported
(294.232119400) PMD: mlx4.c:691: mlx4_pci_probe(): TSO is not supported
(294.232187100) PMD: mlx4.c:703: mlx4_pci_probe(): port 1 MAC address is
00:0d:3a:71:cc:d5
(294.232225200) PMD: mlx4.c:712: mlx4_pci_probe(): port 1 ifname is "mlx2"
(294.232264100) PMD: mlx4.c:719: mlx4_pci_probe(): port 1 MTU is 1500
(294.232276400) PMD: mlx4.c:758: mlx4_pci_probe(): forcing Ethernet interface
up
(294.234176000) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x24011a7d8 with table 0x2401177c0
(294.234259900) vmbus_probe_one_driver(): VMBUS device
000d3a70-42e6-000d-3a70-42e6000d3a70 on NUMA socket -1
(294.234306400) rte_vmbus_map_device(): Not managed by UIO driver, skipped
(294.234316500) vmbus_probe_one_driver(): VMBUS device
000d3a70-4764-000d-3a70-4764000d3a70 on NUMA socket -1
(294.236281300) vmbus_probe_one_driver():   Invalid NUMA socket, default to 0
(294.236313700) vmbus_probe_one_driver():   probe driver: net_netvsc
(294.236342800) eth_hn_probe():  >>
(294.236368400) eth_hn_dev_init():  >>
(294.236488300) hn_nvs_init(): NVS version 0x60001, NDIS version 6.30
(294.236496600) hn_nvs_conn_rxbuf(): connect rxbuff va=0x1100c02000
gpad=0xe1e43
(294.237019100) hn_nvs_conn_rxbuf(): receive buffer size 1728 count 9102
(294.237034800) hn_nvs_conn_chim(): connect send buf va=0x1101b02000
gpad=0xe1e44
(294.240472800) hn_nvs_conn_chim(): send buffer 15728640 section size:6144,
count:2560
(294.240621800) hn_rndis_init(): RNDIS ver 1.0, aggpkt size 4026531839, aggpkt
cnt 8, aggpkt align 8
(294.240729500) hn_nvs_handle_vfassoc(): VF serial 2 add to port 2
(294.240876400) hn_rndis_set_rxfilter(): set RX filter 0 done
(294.240891300) hn_tx_pool_init(): create a TX send pool hn_txd_2 n=2560
size=32 socket=0
(294.242211800) hn_rndis_get_eaddr(): MAC address 00:0d:3a:70:47:64
(294.242262300) eth_hn_dev_init(): VMBus max channels 64
(294.242489600) hn_rndis_query_rsscaps(): RX rings 64 indirect 128 caps 0x301
(294.242497800) eth_hn_dev_init(): Adding VF device
(294.242504900) hn_vf_attach(): Attach VF device 0
(294.242515900) hn_nvs_set_datapath(): set datapath VF
(294.242524500) vmbus_probe_one_driver(): VMBUS device
000d3a71-ccd5-000d-3a71-ccd5000d3a71 on NUMA socket -1
(294.244252600) vmbus_probe_one_driver():   Invalid NUMA socket, default to 0
(294.244284200) vmbus_probe_one_driver():   probe driver: net_netvsc
(294.244293800) eth_hn_probe():  >>
(294.244303400) eth_hn_dev_init():  >>
(294.244418500) hn_nvs_init(): NVS version 0x60001, NDIS version 6.30
(294.244425900) hn_nvs_conn_rxbuf(): connect rxbuff va=0x1102e04000
gpad=0xe1e45
(294.244932400) hn_nvs_conn_rxbuf(): receive buffer size 1728 count 9102
(294.244948400) hn_nvs_conn_chim(): connect send buf va=0x1103d04000
gpad=0xe1e46
(294.249596400) hn_nvs_conn_chim(): send buffer 15728640 section size:6144,
count:2560
(294.249748200) hn_rndis_init(): RNDIS ver 1.0, aggpkt size 4026531839, aggpkt
cnt 8, aggpkt align 8
(294.249807100) hn_nvs_handle_vfassoc(): VF serial 3 add to port 3
(294.249886700) hn_rndis_set_rxfilter(): set RX filter 0 done
(294.249901100) hn_tx_pool_init(): create a TX send pool hn_txd_3 n=2560
size=32 socket=0
(294.251236600) hn_rndis_get_eaddr(): MAC address 00:0d:3a:71:cc:d5
(294.251286800) eth_hn_dev_init(): VMBus max channels 64
(294.251505200) hn_rndis_query_rsscaps(): RX rings 64 indirect 128 caps 0x301
(294.251513000) eth_hn_dev_init(): Adding VF device
(294.251519400) hn_vf_attach(): Attach VF device 1
(294.251524400) hn_nvs_set_datapath(): set datapath VF

(298.040505100) starting port 2
(298.040572600) Initializing port 2 [00:0d:3a:70:47:64]
(298.040614500) port 2:  (net_netvsc)
  nb_rxq=2 nb_txq=2 rxq_shared=0 txq_shared=0
  rxq0=c1 rxq1=c11
  txq0=c1 txq1=c11
port 2: rx_scatter=0 tx_scatter=0 max_rx_frame=1526
(298.041204600) (298.041201500) hn_dev_configure():  >>
(298.041417600) hn_rndis_link_status(): link status 0x40020006
(298.041422800) hn_subchan_configure(): open 1 subchannels
(298.051775000) hn_subchan_configure(): new sub channel 1
(298.051782800) hn_rndis_conf_rss():  >>
(298.051916400) _hn_vf_configure(): disabling LSC for VF 0
(298.052102700) hn_dev_tx_queue_setup():  >>
(298.052138100) PMD: mlx4_txq.c:182: mlx4_tx_queue_setup(): 0x214a040:
configuring queue 0 for 1024 descriptors
(298.115955700) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x23f5b2434 with table 0x23f5b0ec0
(298.115969000) PMD: mlx4_txq.c:332: mlx4_tx_queue_setup(): 0x214a040: adding
Tx queue 0x23f5b2300 to list
(298.116131100) hn_dev_tx_queue_setup():  >>
(298.116170800) PMD: mlx4_txq.c:182: mlx4_tx_queue_setup(): 0x214a040:
configuring queue 1 for 1024 descriptors
(298.148979700) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x23f5acab4 with table 0x23f5ab540
(298.148993300) PMD: mlx4_txq.c:332: mlx4_tx_queue_setup(): 0x214a040: adding
Tx queue 0x23f5ac980 to list
(298.149193500) hn_dev_rx_queue_setup():  >>
(298.149238900) PMD: mlx4_rxq.c:759: mlx4_rx_queue_setup(): 0x214a040:
configuring queue 0 for 1024 descriptors
(298.149244600) PMD: mlx4_rxq.c:801: mlx4_rx_queue_setup(): 0x214a040: CRC
stripping is enabled, 0 bytes will be subtracted from incoming frames to hide
it
(298.149249600) PMD: mlx4_rxq.c:866: mlx4_rx_queue_setup(): 0x214a040: maximum
number of segments per packet: 1
(298.149253200) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x23f5a7220 with table 0x23f5a5d00
(298.149256700) PMD: mlx4_rxq.c:897: mlx4_rx_queue_setup(): 0x214a040: adding
Rx queue 0x23f5a7140 to list
(298.149336700) hn_dev_rx_queue_setup():  >>
(298.149372000) PMD: mlx4_rxq.c:759: mlx4_rx_queue_setup(): 0x214a040:
configuring queue 1 for 1024 descriptors
(298.149376600) PMD: mlx4_rxq.c:801: mlx4_rx_queue_setup(): 0x214a040: CRC
stripping is enabled, 0 bytes will be subtracted from incoming frames to hide
it
(298.149380500) PMD: mlx4_rxq.c:866: mlx4_rx_queue_setup(): 0x214a040: maximum
number of segments per packet: 1
(298.149384000) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x23f5a10a0 with table 0x23f59fb80
(298.149387300) PMD: mlx4_rxq.c:897: mlx4_rx_queue_setup(): 0x214a040: adding
Rx queue 0x23f5a0fc0 to list
(298.149525300) hn_dev_start():  >>
(298.149667700) hn_rndis_set_rxfilter(): set RX filter 0xd done
(298.149708200) PMD: mlx4.c:126: mlx4_dev_start(): 0x214a040: attaching
configured flows to all RX queues
(298.181381800) PMD: mlx4_rxq.c:570: mlx4_rxq_attach(): port 0 Rx queue 0
registering mp mbuf_pool_socket_0 having 1776 chunks
(298.181396000) PMD: mlx4_mr.c:563: mlx4_mr_create(): port 0 creating a MR
using address (0x161400000)
(298.181401500) PMD: mlx4_mr.c:601: mlx4_mr_create(): port 0 extending
0x161400000 to [0x100200000, 0x240200000), page_sz=0x200000, ms_n=2560
(298.244769000) PMD: mlx4_mr.c:738: mlx4_mr_create(): port 0 MR CREATED
(0x23f59f980) for 0x161400000:
  [0x100200000, 0x240200000), lkey=0xb040100 base_idx=0 ms_n=2560,
ms_bmp_n=2560
(298.244803200) PMD: mlx4_mr.c:355: mr_insert_dev_cache(): port 0 inserting
MR(0x23f59f980) to global cache
(298.244828700) PMD: mlx4_mr.c:184: mr_btree_insert(): inserted
B-tree(0x2401f3c18)[1], [0x100200000, 0x240200000) lkey=0xb040100
(298.244834500) PMD: mlx4_mr.c:184: mr_btree_insert(): inserted
B-tree(0x23f5a7220)[1], [0x100200000, 0x240200000) lkey=0xb040100
(298.244985100) PMD: mlx4_rxq.c:608: mlx4_rxq_attach(): 0x23f5a7140: allocated
and configured 1024 segments (max 1024 packets)
(298.276811100) PMD: mlx4_rxq.c:570: mlx4_rxq_attach(): port 0 Rx queue 1
registering mp mbuf_pool_socket_0 having 1776 chunks
(298.276824600) PMD: mlx4_mr.c:184: mr_btree_insert(): inserted
B-tree(0x23f5a10a0)[1], [0x100200000, 0x240200000) lkey=0xb040100
(298.276947000) PMD: mlx4_rxq.c:608: mlx4_rxq_attach(): 0x23f5a0fc0: allocated
and configured 1024 segments (max 1024 packets)
(298.276953100) PMD: mlx4_mr.c:1305: mlx4_mr_dump_dev(): port 0 MR[0], LKey =
0xb040100, ms_n = 2560, ms_bmp_n = 2560
(298.276971200) PMD: mlx4_mr.c:1316: mlx4_mr_dump_dev():   chunk[0],
[0x100200000, 0x240200000)
(298.276975900) PMD: mlx4_mr.c:1319: mlx4_mr_dump_dev(): port 0 dumping global
cache
(298.276978900) PMD: mlx4_mr.c:265: mlx4_mr_btree_dump():
B-tree(0x2401f3c18)[0], [0x0, 0x0) lkey=0xffffffff
(298.276982500) PMD: mlx4_mr.c:265: mlx4_mr_btree_dump():
B-tree(0x2401f3c18)[1], [0x100200000, 0x240200000) lkey=0xb040100
(298.281751300) hn_rndis_set_rxfilter(): set RX filter 0x9 done
(298.281791100) hn_rndis_set_rxfilter(): set RX filter 0x9 done
(298.282582000) hn_dev_link_update(): Port 2 is up
failed to apply mtu 1500 on port 2 (err=-95)
(298.282829100) WARNING: failed to re-apply RSS key on port 2
(298.282864300) port 2 enabled

(298.284300300) starting port 3
(298.284430100) Initializing port 3 [00:0d:3a:71:cc:d5]
(298.284443800) port 3:  (net_netvsc)
  nb_rxq=2 nb_txq=2 rxq_shared=0 txq_shared=0
  rxq0=c1 rxq1=c11
  txq0=c1 txq1=c11
port 3: rx_scatter=0 tx_scatter=0 max_rx_frame=1526
(298.284901800) (298.284900300) hn_dev_configure():  >>
(298.285022300) hn_rndis_link_status(): link status 0x40020006
(298.285027300) hn_subchan_configure(): open 1 subchannels
(298.295391700) hn_subchan_configure(): new sub channel 1
(298.295401400) hn_rndis_conf_rss():  >>
(298.295506400) _hn_vf_configure(): disabling LSC for VF 1
(298.295621100) hn_dev_tx_queue_setup():  >>
(298.295697900) PMD: mlx4_txq.c:182: mlx4_tx_queue_setup(): 0x214e0c0:
configuring queue 0 for 1024 descriptors
(298.356538900) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x23f59b074 with table 0x23f599b00
(298.356552600) PMD: mlx4_txq.c:332: mlx4_tx_queue_setup(): 0x214e0c0: adding
Tx queue 0x23f59af40 to list
(298.356784600) hn_dev_tx_queue_setup():  >>
(298.356824700) PMD: mlx4_txq.c:182: mlx4_tx_queue_setup(): 0x214e0c0:
configuring queue 1 for 1024 descriptors
(298.388099300) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x23f5956f4 with table 0x23f594180
(298.388113700) PMD: mlx4_txq.c:332: mlx4_tx_queue_setup(): 0x214e0c0: adding
Tx queue 0x23f5955c0 to list
(298.388392000) hn_dev_rx_queue_setup():  >>
(298.388436600) PMD: mlx4_rxq.c:759: mlx4_rx_queue_setup(): 0x214e0c0:
configuring queue 0 for 1024 descriptors
(298.388451200) PMD: mlx4_rxq.c:801: mlx4_rx_queue_setup(): 0x214e0c0: CRC
stripping is enabled, 0 bytes will be subtracted from incoming frames to hide
it
(298.388456400) PMD: mlx4_rxq.c:866: mlx4_rx_queue_setup(): 0x214e0c0: maximum
number of segments per packet: 1
(298.388460100) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x23f58fe60 with table 0x23f58e940
(298.388463300) PMD: mlx4_rxq.c:897: mlx4_rx_queue_setup(): 0x214e0c0: adding
Rx queue 0x23f58fd80 to list
(298.388674300) hn_dev_rx_queue_setup():  >>
(298.388712600) PMD: mlx4_rxq.c:759: mlx4_rx_queue_setup(): 0x214e0c0:
configuring queue 1 for 1024 descriptors
(298.388717000) PMD: mlx4_rxq.c:801: mlx4_rx_queue_setup(): 0x214e0c0: CRC
stripping is enabled, 0 bytes will be subtracted from incoming frames to hide
it
(298.388720800) PMD: mlx4_rxq.c:866: mlx4_rx_queue_setup(): 0x214e0c0: maximum
number of segments per packet: 1
(298.388724100) PMD: mlx4_mr.c:224: mlx4_mr_btree_init(): initialized B-tree
0x23f589ce0 with table 0x23f5887c0
(298.388727200) PMD: mlx4_rxq.c:897: mlx4_rx_queue_setup(): 0x214e0c0: adding
Rx queue 0x23f589c00 to list
(298.388819300) hn_dev_start():  >>
(298.388963500) hn_rndis_set_rxfilter(): set RX filter 0xd done
(298.388995400) PMD: mlx4.c:126: mlx4_dev_start(): 0x214e0c0: attaching
configured flows to all RX queues
(298.419767700) PMD: mlx4_rxq.c:570: mlx4_rxq_attach(): port 1 Rx queue 0
registering mp mbuf_pool_socket_0 having 1776 chunks
(298.419781300) PMD: mlx4_mr.c:563: mlx4_mr_create(): port 1 creating a MR
using address (0x161400000)
(298.419786500) PMD: mlx4_mr.c:601: mlx4_mr_create(): port 1 extending
0x161400000 to [0x100200000, 0x240200000), page_sz=0x200000, ms_n=2560
(298.481752500) PMD: mlx4_mr.c:738: mlx4_mr_create(): port 1 MR CREATED
(0x23f5885c0) for 0x161400000:
  [0x100200000, 0x240200000), lkey=0xb050100 base_idx=0 ms_n=2560,
ms_bmp_n=2560
(298.481787500) PMD: mlx4_mr.c:355: mr_insert_dev_cache(): port 1 inserting
MR(0x23f5885c0) to global cache
(298.481811000) PMD: mlx4_mr.c:184: mr_btree_insert(): inserted
B-tree(0x24011a7d8)[1], [0x100200000, 0x240200000) lkey=0xb050100
(298.481816800) PMD: mlx4_mr.c:184: mr_btree_insert(): inserted
B-tree(0x23f58fe60)[1], [0x100200000, 0x240200000) lkey=0xb050100
(298.481963400) PMD: mlx4_rxq.c:608: mlx4_rxq_attach(): 0x23f58fd80: allocated
and configured 1024 segments (max 1024 packets)
(298.513123800) PMD: mlx4_rxq.c:570: mlx4_rxq_attach(): port 1 Rx queue 1
registering mp mbuf_pool_socket_0 having 1776 chunks
(298.513139900) PMD: mlx4_mr.c:184: mr_btree_insert(): inserted
B-tree(0x23f589ce0)[1], [0x100200000, 0x240200000) lkey=0xb050100
(298.513269000) PMD: mlx4_rxq.c:608: mlx4_rxq_attach(): 0x23f589c00: allocated
and configured 1024 segments (max 1024 packets)
(298.513275400) PMD: mlx4_mr.c:1305: mlx4_mr_dump_dev(): port 1 MR[0], LKey =
0xb050100, ms_n = 2560, ms_bmp_n = 2560
(298.513297400) PMD: mlx4_mr.c:1316: mlx4_mr_dump_dev():   chunk[0],
[0x100200000, 0x240200000)
(298.513301800) PMD: mlx4_mr.c:1319: mlx4_mr_dump_dev(): port 1 dumping global
cache
(298.513305100) PMD: mlx4_mr.c:265: mlx4_mr_btree_dump():
B-tree(0x24011a7d8)[0], [0x0, 0x0) lkey=0xffffffff
(298.513308800) PMD: mlx4_mr.c:265: mlx4_mr_btree_dump():
B-tree(0x24011a7d8)[1], [0x100200000, 0x240200000) lkey=0xb050100
(298.517689900) hn_rndis_set_rxfilter(): set RX filter 0x9 done
(298.517731800) hn_rndis_set_rxfilter(): set RX filter 0x9 done
(298.518541800) hn_dev_link_update(): Port 3 is up
failed to apply mtu 1500 on port 3 (err=-95)
(298.518782100) WARNING: failed to re-apply RSS key on port 3
(298.518822400) port 3 enabled




Please let me know if additional info is required. Thanks in advance!

-- 
You are receiving this mail because:
You are the assignee for the bug.

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

* Re: [dpdk-dev] [Bug 287] netvsc PMD/dpdk/azure: Driver lockup with multi-queue configuration
  2019-05-30  0:10 [dpdk-dev] [Bug 287] netvsc PMD/dpdk/azure: Driver lockup with multi-queue configuration bugzilla
@ 2019-05-30 16:05 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2019-05-30 16:05 UTC (permalink / raw)
  To: dev

On Thu, 30 May 2019 00:10:21 +0000
bugzilla@dpdk.org wrote:

> https://bugs.dpdk.org/show_bug.cgi?id=287
> 
>             Bug ID: 287
>            Summary: netvsc PMD/dpdk/azure: Driver lockup with multi-queue
>                     configuration
>            Product: DPDK
>            Version: 18.11
>           Hardware: x86
>                 OS: Linux
>             Status: CONFIRMED
>           Severity: normal
>           Priority: Normal
>          Component: ethdev
>           Assignee: dev@dpdk.org
>           Reporter: mohsinmazhar_shaikh@trendmicro.com
>   Target Milestone: ---
> 
> I am running an app using dpdk 18.11 netvsc PMD
> (https://doc.dpdk.org/guides/nics/netvsc.html) on "Ubuntu 18.04 LTS" VM on
> azure running kernel 4.18.0-1018
> (https://launchpad.net/ubuntu/+source/linux-azure/4.18.0-1018.18). The app uses
> multi-queue with 2 cores doing RX/TX. The lockup only occurs when doing a
> connections/second test i.e. exercising the netvsc interface. When the lockup
> occurs the netvsc interface and it's corresponding mellanox slave both can't
> rx/tx packets.
> 

Thanks for the report, busy this week, may have time to address it next week.


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

end of thread, other threads:[~2019-05-30 16:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-30  0:10 [dpdk-dev] [Bug 287] netvsc PMD/dpdk/azure: Driver lockup with multi-queue configuration bugzilla
2019-05-30 16:05 ` Stephen Hemminger

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).