test suite reviews and discussions
 help / color / mirror / Atom feed
* [dts]  How to disable the BOOTP and LLDP packets on tester ?
@ 2018-06-13 10:12 Phil Yang
  2018-06-14  2:37 ` Phil Yang
  2018-06-15  9:03 ` Liu, Yong
  0 siblings, 2 replies; 9+ messages in thread
From: Phil Yang @ 2018-06-13 10:12 UTC (permalink / raw)
  To: Liu, Yong; +Cc: dts, nd


[-- Attachment #1.1: Type: text/plain, Size: 464 bytes --]

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #1.2: Type: text/html, Size: 3229 bytes --]

[-- Attachment #2: capture_broadcast.log --]
[-- Type: application/octet-stream, Size: 5176 bytes --]

16:37:55.193237 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:38:01.362649 LLDP, length 59
16:38:06.146145 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:38:13.428062 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:38:13.460402 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:38:14.341085 IP6 :: > ff02::1:ff8d:37c7: ICMP6, neighbor solicitation, who has fe80::e34c:fa1b:6b8d:37c7, length 24
16:38:14.383063 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:38:15.343094 IP6 fe80::e34c:fa1b:6b8d:37c7 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:38:15.372317 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:38:16.093064 IP6 fe80::e34c:fa1b:6b8d:37c7 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:38:19.373296 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:38:19.720536 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:38:23.374555 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:38:26.304610 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:38:31.266639 LLDP, length 59
16:38:36.815344 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:38:48.459372 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:38:58.429950 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:38:58.462200 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:38:59.028977 IP6 :: > ff02::1:ff8d:37c7: ICMP6, neighbor solicitation, who has fe80::e34c:fa1b:6b8d:37c7, length 24
16:38:59.346956 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:39:00.032028 IP6 fe80::e34c:fa1b:6b8d:37c7 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:39:00.372540 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:39:00.425943 IP6 fe80::e34c:fa1b:6b8d:37c7 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:39:01.170632 LLDP, length 59
16:39:03.629032 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:39:04.373074 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:39:08.374367 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:39:17.535490 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:39:31.074631 LLDP, length 59
16:39:34.051616 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:39:43.427832 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:39:43.429825 IP6 :: > ff02::1:ff8d:37c7: ICMP6, neighbor solicitation, who has fe80::e34c:fa1b:6b8d:37c7, length 24
16:39:43.461165 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:39:43.469842 IP6 :: > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:39:44.431033 IP6 fe80::e34c:fa1b:6b8d:37c7 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:39:44.432148 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:39:44.904870 IP6 fe80::e34c:fa1b:6b8d:37c7 > ff02::16: HBH ICMP6, multicast listener report v2, 1 group record(s), length 28
16:39:46.447711 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:39:48.373841 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:39:51.136886 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:39:52.373337 IP6 fe80::e34c:fa1b:6b8d:37c7 > ip6-allrouters: ICMP6, router solicitation, length 8
16:40:00.978623 LLDP, length 59
16:40:04.799450 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:40:15.959479 IP 0.0.0.0.bootpc > 255.255.255.255.bootps: BOOTP/DHCP, Request from 3c:fd:fe:02:c2:80 (oui Unknown), length 300
16:40:30.882618 LLDP, length 59
16:41:00.786614 LLDP, length 59
16:41:30.690609 LLDP, length 59
16:42:00.594604 LLDP, length 59
16:42:30.498599 LLDP, length 59
16:43:00.402593 LLDP, length 59
16:43:30.306588 LLDP, length 59
16:44:00.210580 LLDP, length 59
16:44:30.114575 LLDP, length 59

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

* Re: [dts] How to disable the BOOTP and LLDP packets on tester ?
  2018-06-13 10:12 [dts] How to disable the BOOTP and LLDP packets on tester ? Phil Yang
@ 2018-06-14  2:37 ` Phil Yang
  2018-06-15  9:03 ` Liu, Yong
  1 sibling, 0 replies; 9+ messages in thread
From: Phil Yang @ 2018-06-14  2:37 UTC (permalink / raw)
  To: Liu, Yong; +Cc: dts, nd

[-- Attachment #1: Type: text/plain, Size: 835 bytes --]

I eliminated the BOOTP and LLDP packets by assigned IP address for each port manually.

I just wonder how you handle it under your environment.

Thanks,
Phil Yang

From: Phil Yang
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@intel.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #2: Type: text/html, Size: 4747 bytes --]

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

* Re: [dts] How to disable the BOOTP and LLDP packets on tester ?
  2018-06-13 10:12 [dts] How to disable the BOOTP and LLDP packets on tester ? Phil Yang
  2018-06-14  2:37 ` Phil Yang
@ 2018-06-15  9:03 ` Liu, Yong
  2018-06-15  9:37   ` Phil Yang
  1 sibling, 1 reply; 9+ messages in thread
From: Liu, Yong @ 2018-06-15  9:03 UTC (permalink / raw)
  To: Phil.Yang; +Cc: dts, nd

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

Phil,
BOOTP is the packets sent by dhcp client. You can check whether Network-manager or dhcp client running in the background.
For LLDP packet, FVL with firmware6.0 can't disable it. If FVL with firmware 5.X or lower version, you can disable it in i40e driver.

i40e_main.c
//pf->hw_features |= I40E_HW_STOP_FW_LLDP;

Thanks,
Marvin

From: Phil.Yang@arm.com [mailto:Phil.Yang@arm.com]
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@intel.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #2: Type: text/html, Size: 4934 bytes --]

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

* Re: [dts] How to disable the BOOTP and LLDP packets on tester ?
  2018-06-15  9:03 ` Liu, Yong
@ 2018-06-15  9:37   ` Phil Yang
  2018-06-20  7:51     ` Liu, Yong
  0 siblings, 1 reply; 9+ messages in thread
From: Phil Yang @ 2018-06-15  9:37 UTC (permalink / raw)
  To: Liu, Yong; +Cc: dts, nd

[-- Attachment #1: Type: text/plain, Size: 1684 bytes --]

Hi Marvin,

Thanks for your guidance.

I got some tips from serverfault.com, so do you have some manual for Intel NIC runtime configuration?
https://serverfault.com/questions/775980/disable-internal-intel-x710-lldp-agent?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com>
Sent: Friday, June 15, 2018 5:04 PM
To: Phil Yang <Phil.Yang@arm.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Phil,
BOOTP is the packets sent by dhcp client. You can check whether Network-manager or dhcp client running in the background.
For LLDP packet, FVL with firmware6.0 can't disable it. If FVL with firmware 5.X or lower version, you can disable it in i40e driver.

i40e_main.c
//pf->hw_features |= I40E_HW_STOP_FW_LLDP;

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #2: Type: text/html, Size: 7183 bytes --]

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

* Re: [dts] How to disable the BOOTP and LLDP packets on tester ?
  2018-06-15  9:37   ` Phil Yang
@ 2018-06-20  7:51     ` Liu, Yong
  2018-06-20 10:04       ` Phil Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Liu, Yong @ 2018-06-20  7:51 UTC (permalink / raw)
  To: Phil.Yang; +Cc: dts, nd

[-- Attachment #1: Type: text/plain, Size: 2341 bytes --]

Hi Phil,
Just both debugfs and hard-coded code will call the same function i40e_aq_stop_lldp at the end.
So I think if firmware version is 6.x, still can't disable LLDP by debugfs.
And In my mind, we do not have user manual for NIC configuration.  Most of time, we get the such information from code :)

Thanks,
Marvin

From: Phil.Yang@arm.com [mailto:Phil.Yang@arm.com]
Sent: Friday, June 15, 2018 5:37 PM
To: Liu, Yong <yong.liu@intel.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

Thanks for your guidance.

I got some tips from serverfault.com, so do you have some manual for Intel NIC runtime configuration?
https://serverfault.com/questions/775980/disable-internal-intel-x710-lldp-agent?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Sent: Friday, June 15, 2018 5:04 PM
To: Phil Yang <Phil.Yang@arm.com<mailto:Phil.Yang@arm.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Phil,
BOOTP is the packets sent by dhcp client. You can check whether Network-manager or dhcp client running in the background.
For LLDP packet, FVL with firmware6.0 can't disable it. If FVL with firmware 5.X or lower version, you can disable it in i40e driver.

i40e_main.c
//pf->hw_features |= I40E_HW_STOP_FW_LLDP;

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #2: Type: text/html, Size: 8951 bytes --]

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

* Re: [dts] How to disable the BOOTP and LLDP packets on tester ?
  2018-06-20  7:51     ` Liu, Yong
@ 2018-06-20 10:04       ` Phil Yang
  2018-06-20 14:19         ` Xu, Qian Q
  0 siblings, 1 reply; 9+ messages in thread
From: Phil Yang @ 2018-06-20 10:04 UTC (permalink / raw)
  To: Liu, Yong; +Cc: dts, nd

[-- Attachment #1: Type: text/plain, Size: 2904 bytes --]

I really appreciate your help, Marvin.

The firmware for XX710 is firmware=6.01 and for 82599ES is firmware=0x61b20001 and for X710 is firmware=4.41.
Just as you mentioned, debugfs can only work on x710 firmware=4.41.

Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com>
Sent: Wednesday, June 20, 2018 3:51 PM
To: Phil Yang <Phil.Yang@arm.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Phil,
Just both debugfs and hard-coded code will call the same function i40e_aq_stop_lldp at the end.
So I think if firmware version is 6.x, still can't disable LLDP by debugfs.
And In my mind, we do not have user manual for NIC configuration.  Most of time, we get the such information from code :)

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Friday, June 15, 2018 5:37 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

Thanks for your guidance.

I got some tips from serverfault.com, so do you have some manual for Intel NIC runtime configuration?
https://serverfault.com/questions/775980/disable-internal-intel-x710-lldp-agent?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Sent: Friday, June 15, 2018 5:04 PM
To: Phil Yang <Phil.Yang@arm.com<mailto:Phil.Yang@arm.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Phil,
BOOTP is the packets sent by dhcp client. You can check whether Network-manager or dhcp client running in the background.
For LLDP packet, FVL with firmware6.0 can't disable it. If FVL with firmware 5.X or lower version, you can disable it in i40e driver.

i40e_main.c
//pf->hw_features |= I40E_HW_STOP_FW_LLDP;

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #2: Type: text/html, Size: 10591 bytes --]

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

* Re: [dts] How to disable the BOOTP and LLDP packets on tester ?
  2018-06-20 10:04       ` Phil Yang
@ 2018-06-20 14:19         ` Xu, Qian Q
  2018-06-21  6:01           ` Phil Yang
  0 siblings, 1 reply; 9+ messages in thread
From: Xu, Qian Q @ 2018-06-20 14:19 UTC (permalink / raw)
  To: dts, Liu, Yong; +Cc: dts, nd, Xu, Qian Q

[-- Attachment #1: Type: text/plain, Size: 3388 bytes --]

X710 firmware=4.41 is too old to use, currently we all used X710 with firmware 6.01
http://doc.dpdk.org/guides/rel_notes/release_18_05.html#tested-platforms


From: dts [mailto:dts-bounces@dpdk.org]
Sent: Wednesday, June 20, 2018 6:05 PM
To: Liu, Yong <yong.liu@intel.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: Re: [dts] How to disable the BOOTP and LLDP packets on tester ?

I really appreciate your help, Marvin.

The firmware for XX710 is firmware=6.01 and for 82599ES is firmware=0x61b20001 and for X710 is firmware=4.41.
Just as you mentioned, debugfs can only work on x710 firmware=4.41.

Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Sent: Wednesday, June 20, 2018 3:51 PM
To: Phil Yang <Phil.Yang@arm.com<mailto:Phil.Yang@arm.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Phil,
Just both debugfs and hard-coded code will call the same function i40e_aq_stop_lldp at the end.
So I think if firmware version is 6.x, still can't disable LLDP by debugfs.
And In my mind, we do not have user manual for NIC configuration.  Most of time, we get the such information from code :)

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Friday, June 15, 2018 5:37 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

Thanks for your guidance.

I got some tips from serverfault.com, so do you have some manual for Intel NIC runtime configuration?
https://serverfault.com/questions/775980/disable-internal-intel-x710-lldp-agent?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Sent: Friday, June 15, 2018 5:04 PM
To: Phil Yang <Phil.Yang@arm.com<mailto:Phil.Yang@arm.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Phil,
BOOTP is the packets sent by dhcp client. You can check whether Network-manager or dhcp client running in the background.
For LLDP packet, FVL with firmware6.0 can't disable it. If FVL with firmware 5.X or lower version, you can disable it in i40e driver.

i40e_main.c
//pf->hw_features |= I40E_HW_STOP_FW_LLDP;

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #2: Type: text/html, Size: 11836 bytes --]

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

* Re: [dts] How to disable the BOOTP and LLDP packets on tester ?
  2018-06-20 14:19         ` Xu, Qian Q
@ 2018-06-21  6:01           ` Phil Yang
  2018-06-21  8:55             ` Xu, Qian Q
  0 siblings, 1 reply; 9+ messages in thread
From: Phil Yang @ 2018-06-21  6:01 UTC (permalink / raw)
  To: Xu, Qian Q, dts, Liu, Yong; +Cc: dts, nd

[-- Attachment #1: Type: text/plain, Size: 4002 bytes --]

Thanks for your reminder.
I can bind this old firmware x710 NIC on my Tester.

BTW, I found the firmware boundaries are 4.33 and 4.40 in i40e_main.c. What's the main gap for x710 6.0 firmware and 4.41 firmware?

Thanks,
Phil Yang

From: dts <dts-bounces@dpdk.org> On Behalf Of Xu, Qian Q
Sent: Wednesday, June 20, 2018 10:20 PM
To: dts <dts-bounces@dpdk.org>; Liu, Yong <yong.liu@intel.com>
Cc: dts@dpdk.org; nd <nd@arm.com>; Xu, Qian Q <qian.q.xu@intel.com>
Subject: Re: [dts] How to disable the BOOTP and LLDP packets on tester ?

X710 firmware=4.41 is too old to use, currently we all used X710 with firmware 6.01
http://doc.dpdk.org/guides/rel_notes/release_18_05.html#tested-platforms


From: dts [mailto:dts-bounces@dpdk.org]
Sent: Wednesday, June 20, 2018 6:05 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: Re: [dts] How to disable the BOOTP and LLDP packets on tester ?

I really appreciate your help, Marvin.

The firmware for XX710 is firmware=6.01 and for 82599ES is firmware=0x61b20001 and for X710 is firmware=4.41.
Just as you mentioned, debugfs can only work on x710 firmware=4.41.

Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Sent: Wednesday, June 20, 2018 3:51 PM
To: Phil Yang <Phil.Yang@arm.com<mailto:Phil.Yang@arm.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Phil,
Just both debugfs and hard-coded code will call the same function i40e_aq_stop_lldp at the end.
So I think if firmware version is 6.x, still can't disable LLDP by debugfs.
And In my mind, we do not have user manual for NIC configuration.  Most of time, we get the such information from code :)

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Friday, June 15, 2018 5:37 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

Thanks for your guidance.

I got some tips from serverfault.com, so do you have some manual for Intel NIC runtime configuration?
https://serverfault.com/questions/775980/disable-internal-intel-x710-lldp-agent?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Sent: Friday, June 15, 2018 5:04 PM
To: Phil Yang <Phil.Yang@arm.com<mailto:Phil.Yang@arm.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Phil,
BOOTP is the packets sent by dhcp client. You can check whether Network-manager or dhcp client running in the background.
For LLDP packet, FVL with firmware6.0 can't disable it. If FVL with firmware 5.X or lower version, you can disable it in i40e driver.

i40e_main.c
//pf->hw_features |= I40E_HW_STOP_FW_LLDP;

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #2: Type: text/html, Size: 13536 bytes --]

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

* Re: [dts] How to disable the BOOTP and LLDP packets on tester ?
  2018-06-21  6:01           ` Phil Yang
@ 2018-06-21  8:55             ` Xu, Qian Q
  0 siblings, 0 replies; 9+ messages in thread
From: Xu, Qian Q @ 2018-06-21  8:55 UTC (permalink / raw)
  To: Phil.Yang, dts, Liu, Yong; +Cc: dts, nd

[-- Attachment #1: Type: text/plain, Size: 4654 bytes --]

Sorry we are not experts about the firmware difference.
We need make sure NIC firmware version matched with dpdk version. We will show the tested platform/NIC versions in dpdk.org release notes.

From: Phil.Yang@arm.com [mailto:Phil.Yang@arm.com]
Sent: Thursday, June 21, 2018 2:01 PM
To: Xu, Qian Q <qian.q.xu@intel.com>; dts <dts-bounces@dpdk.org>; Liu, Yong <yong.liu@intel.com>
Cc: dts@dpdk.org; nd <nd@arm.com>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Thanks for your reminder.
I can bind this old firmware x710 NIC on my Tester.

BTW, I found the firmware boundaries are 4.33 and 4.40 in i40e_main.c. What's the main gap for x710 6.0 firmware and 4.41 firmware?

Thanks,
Phil Yang

From: dts <dts-bounces@dpdk.org<mailto:dts-bounces@dpdk.org>> On Behalf Of Xu, Qian Q
Sent: Wednesday, June 20, 2018 10:20 PM
To: dts <dts-bounces@dpdk.org<mailto:dts-bounces@dpdk.org>>; Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>; Xu, Qian Q <qian.q.xu@intel.com<mailto:qian.q.xu@intel.com>>
Subject: Re: [dts] How to disable the BOOTP and LLDP packets on tester ?

X710 firmware=4.41 is too old to use, currently we all used X710 with firmware 6.01
http://doc.dpdk.org/guides/rel_notes/release_18_05.html#tested-platforms


From: dts [mailto:dts-bounces@dpdk.org]
Sent: Wednesday, June 20, 2018 6:05 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: Re: [dts] How to disable the BOOTP and LLDP packets on tester ?

I really appreciate your help, Marvin.

The firmware for XX710 is firmware=6.01 and for 82599ES is firmware=0x61b20001 and for X710 is firmware=4.41.
Just as you mentioned, debugfs can only work on x710 firmware=4.41.

Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Sent: Wednesday, June 20, 2018 3:51 PM
To: Phil Yang <Phil.Yang@arm.com<mailto:Phil.Yang@arm.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Phil,
Just both debugfs and hard-coded code will call the same function i40e_aq_stop_lldp at the end.
So I think if firmware version is 6.x, still can't disable LLDP by debugfs.
And In my mind, we do not have user manual for NIC configuration.  Most of time, we get the such information from code :)

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Friday, June 15, 2018 5:37 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

Thanks for your guidance.

I got some tips from serverfault.com, so do you have some manual for Intel NIC runtime configuration?
https://serverfault.com/questions/775980/disable-internal-intel-x710-lldp-agent?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


Thanks,
Phil Yang

From: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Sent: Friday, June 15, 2018 5:04 PM
To: Phil Yang <Phil.Yang@arm.com<mailto:Phil.Yang@arm.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: RE: [dts] How to disable the BOOTP and LLDP packets on tester ?

Phil,
BOOTP is the packets sent by dhcp client. You can check whether Network-manager or dhcp client running in the background.
For LLDP packet, FVL with firmware6.0 can't disable it. If FVL with firmware 5.X or lower version, you can disable it in i40e driver.

i40e_main.c
//pf->hw_features |= I40E_HW_STOP_FW_LLDP;

Thanks,
Marvin

From: Phil.Yang@arm.com<mailto:Phil.Yang@arm.com> [mailto:Phil.Yang@arm.com]
Sent: Wednesday, June 13, 2018 6:13 PM
To: Liu, Yong <yong.liu@intel.com<mailto:yong.liu@intel.com>>
Cc: dts@dpdk.org<mailto:dts@dpdk.org>; nd <nd@arm.com<mailto:nd@arm.com>>
Subject: [dts] How to disable the BOOTP and LLDP packets on tester ?

Hi Marvin,

I captured groups of bootp and LLDP packets while running DTS on DUT PMD.

My environment:
Application: l2fwd
DUT NIC: 82599ES
Tester NIC: X710
Link:
Tester           <------>       DUT
X710 port A <-------> 82599ES port A
X710 port B <-------> 82599ES port B

Please check the attachment. Thanks.

How to disable the BOOTP and LLDP packets on tester ?
Ps: I didn't find lldpd service running on my tester.

Best Regards,
Phil Yang

[-- Attachment #2: Type: text/html, Size: 14827 bytes --]

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

end of thread, other threads:[~2018-06-21  8:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-13 10:12 [dts] How to disable the BOOTP and LLDP packets on tester ? Phil Yang
2018-06-14  2:37 ` Phil Yang
2018-06-15  9:03 ` Liu, Yong
2018-06-15  9:37   ` Phil Yang
2018-06-20  7:51     ` Liu, Yong
2018-06-20 10:04       ` Phil Yang
2018-06-20 14:19         ` Xu, Qian Q
2018-06-21  6:01           ` Phil Yang
2018-06-21  8:55             ` Xu, Qian Q

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