[vpp-dev] issue: ConnectX-5 interface state can not up

2022-12-26 Thread lihuawei
Hi community, I have a issue about ConnectX-5 interface test in vpp 22.02: the interface state can not be set to up. driver: mlx5_core version: 5.5-1.0.3 firmware-version: 16.32.1010 (MT_80) expansion-rom-version: bus-info: :b1:00.0 supports-statistics: yes supports-test: yes

[vpp-dev] Gerrit Review Id 37745

2022-12-03 Thread lihuawei
Hi community maintainers, I have added a fix as gerrit review id 37745. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37745 short description: fix incorrect using about sw_if_index in nat44-ed static mapping v2 api. Please have a look and review. Best

Re: [vpp-dev] RFC: move the “1”st instance of the community meeting 3 hours earlier to reduce impact for earlier time zone

2022-11-23 Thread lihuawei
+1 Best regards, Huawei LI > 2022年11月23日 16:11,Benoit Ganne (bganne) via lists.fd.io > 写道: > > +1 > >> -Original Message- >> From: vpp-dev@lists.fd.io > > On Behalf Of Andrew >> Yourtchenko >> Sent: Tuesday, November 22, 2022

[vpp-dev] Gerrit Review Id 37683

2022-11-22 Thread lihuawei
Hi community maintainers, I have added a fix as gerrit review id 37683. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37683 short description: fix memory leak when config nat44 session limit. Program received signal SIGABRT, Aborted. 0x7ff4b3cc5337 in raise () from /lib64/libc.so.6 (gdb)

Re: [vpp-dev] snat support bind to specific subnets

2022-11-13 Thread lihuawei
Hi Filip, how about using token bucket to create a feature that has late limiting nodes? Best regards, Huawei LI -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22176): https://lists.fd.io/g/vpp-dev/message/22176 Mute This Topic:

Re: [vpp-dev] Gerrit Review Id 37651

2022-11-12 Thread lihuawei
me. But I can see that in non of the cli commands if (!unformat_user (input, unformat_line_input, line_input)) return 0; is used. Have a look at Daves patch: e697caf9f84408fd7e2caa9bed58946f068e4c9c Best regards, Filip Varga so 12. 11. 2022 o 5:14 lihuawei napísal(a): Hi D

[vpp-dev] Gerrit Review Id 37651

2022-11-11 Thread lihuawei
Hi Dave Barach && community, I have added a fix as gerrit review id 37651. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37651 short description: fix classify session cli. Return error if there is unkown input. Please have a look and review. Best regards, Huawei LI -=-=-=-=-=-=-=-=-=-=-=-

[vpp-dev] Gerrit Review Id 37642

2022-11-10 Thread lihuawei
Hi community maintainers, I have added a fix as gerrit review id 37642. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37642 short description: fix lib install dir and add vat2 lib install when build rpm. Please have a look and review. Best regards, Huawei LI -=-=-=-=-=-=-=-=-=-=-=- Links:

Re: [vpp-dev] Gerrit Review Id 37579

2022-11-07 Thread lihuawei
Sorry about dup mails, something goes wrong with my email client. It's ok Now. -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#22146): https://lists.fd.io/g/vpp-dev/message/22146 Mute This Topic: https://lists.fd.io/mt/94861307/21656 Group Owner:

[vpp-dev] Gerrit Review Id 37585

2022-11-07 Thread lihuawei
Hi everyone, I have added a fix as gerrit review id 37585. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37585 short description: fix crash when delete classify table used by interface. when classify table is used by interface, the classify table can be deleted without any check and hint. And

[vpp-dev] Gerrit Review Id 37579

2022-11-07 Thread lihuawei
Hi everyone, I have added a fix as gerrit review id 37579. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37579 short description: cli show policer's help info is not consistent with it's arguments. Please have a look and review. Best regards, Huawei LI -=-=-=-=-=-=-=-=-=-=-=- Links: You

[vpp-dev] Gerrit Review Id 37579

2022-11-06 Thread lihuawei
Hi everyone, I have added a fix as gerrit review id 37579. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37579 short description: cli show policer's help info is not consistent with it's arguments. Please have a look and review. Best regards, Huawei LI

[vpp-dev] Gerrit Review Id 37579

2022-11-06 Thread lihuawei
Hi everyone, I have added a fix as gerrit review id 37579. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37579 short description: cli show policer's help info is not consistent with it's arguments. Please have a look and review. Best regards, Huawei LI

[vpp-dev] Gerrit Review Id 37585

2022-11-06 Thread lihuawei
Hi everyone, I have added a fix as gerrit review id 37585. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37585 short description: fix crash when delete classify table used by interface. when classify table is used by interface, the classify table can be

[vpp-dev] maintainer's email

2022-11-04 Thread lihuawei
Hi Dave Barach & everyone, Is maintainer Dave Barach’s email 'v...@barachs.net' right in file MAINTAINERS? When I add this email to —reviewers, something like "(Account 'v...@barachs.net' not found, v...@barachs.net does not identify a registered user or group)" will be generated. I found a

Re: [vpp-dev] snat support bind to specific subnets

2022-10-31 Thread lihuawei
of > packets is processed instead of per packet. > > I would really advise you not to try to extend NAT with this functionality. > Separate plugin is a better solution. > > I could look into this in my free time - if I have enough of it. Feel free to > pass any notes / ideas. &g

Re: [vpp-dev] snat support bind to specific subnets

2022-10-31 Thread lihuawei
For many good reasons. > > Much better solution would be to implement a new rate limiting plugin. > > If you need such a functionality feel free to contribute. > > Best regards > > On Fri, 28 Oct 2022 at 18:35, lihuawei <mailto:lihuawei_...@163.com>> wrote: > Hi

Re: [vpp-dev] snat support bind to specific subnets

2022-10-31 Thread lihuawei
> # lan1 and wan0 interfaces belong to default fib 0 > # lan2 interface belongs to vrf1 > > --||-- > > nat44 add address <...address...> > nat44 add address <...address..> tenant-vrf 1 > > This is how you simply force the inside interface to use a specific NAT pool

[vpp-dev] confusion about bvi && bridge-domain && l2fib

2022-10-31 Thread lihuawei
Hi community, I tested and studied the bvi && bridge-domain && l2fib recently, and have a confusion about them. When config "set interface l2 bridge loop1 1 bvi", only one bvi interface can be set in a bridge doamin, checked and used at l2 flood process. When config "l2fib add

[vpp-dev] Gerrit Review Id 37559

2022-10-31 Thread lihuawei
Hi community, I have added a fix as gerrit review id 37559. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37559 short description: Fix byte order error about the struct snat_address_t's member net. For example configurations: set interface ip table loop1

Re: [vpp-dev] snat support bind to specific subnets

2022-10-28 Thread lihuawei
you mean by "new nat session rate limit" ? There is no > session rate limiting in the classical flavours of nat > (nat44-ed,nat44-ei,det44,nat64,nat66) > > Best regards, > Filip Varga > > > pi 28. 10. 2022 o 3:09 lihuawei <mailto:lihuawei_...@163.com>

Re: [vpp-dev] snat support bind to specific subnets

2022-10-27 Thread lihuawei
is is how you simply force the inside interface to use a specific NAT pool > address. > > Best regards, > Filip Varga > > > št 27. 10. 2022 o 18:58 lihuawei <mailto:lihuawei_...@163.com>> napísal(a): > Hi Filip, > > I have searched your mail accounts, an

Re: [vpp-dev] snat support bind to specific subnets

2022-10-27 Thread lihuawei
ction with nat44 add address ... tenant-vrf > . > > Regarding your problem with the bridge in VPP. You can go about using a > bridge in linux and connecting both interfaces in VPP to it. You would even > be able to have both VPP interfaces in the same subnet. > > Best regards,

Re: [vpp-dev] snat support bind to specific subnets

2022-10-27 Thread lihuawei
c and cli.c > for all available configuration options. > > After you have done above mentioned feel free to ask regarding specific > configuration issue. > > Best regards, > Filip Varga > > > pi 21. 10. 2022 o 4:01 lihuawei <mailto:lihuawei_...@163.com>> na

Re: [vpp-dev] snat support bind to specific subnets

2022-10-20 Thread lihuawei
e. > > My question would be, isn't it more natural to put each subnet in a separate > BD with its BVI in the desired VRF? > > Regards, > John > > -Original Message- > From: lihuawei > Sent: Sunday, October 16, 2022 11:30 PM > To: o...@cisco.com; fiva...@

[vpp-dev] snat support bind to specific subnets

2022-10-16 Thread lihuawei
Hi Ole, Filip, Klement, Neale, John, Steven, , I have a demand about snat. With in a vpc, different subnets need use different snat ip to the internet, but the vpp snat feature now do not support snat ip bind to specific subnets. I have two ideas to resolve this: 1. modify and develop snat

Re: [vpp-dev] A question about fib-id with ip neighbor

2022-10-14 Thread lihuawei
on: Delete redundant help information in ip neighbor’s cli. There is no code implementation about fib-id and proxy in the cli’s subsequent process. Please have a look at my patch and review it. Thanks and Regards, Huawei LI > 2022年10月14日 16:15,lihuawei 写道: > > I got it. Thanks Neale.

[vpp-dev] A question about fib-id with ip neighbor

2022-10-13 Thread lihuawei
Hi Neale, As the following picture shows: I have not see any support for the fib-id in the code, but fib-id is in cmd’s help. Is the fib-id deleted before?Or it will to be add in the future? Anyone knows about this, please help. Thanks and Regards, Huawei LI -=-=-=-=-=-=-=-=-=-=-=- Links:

[vpp-dev] Gerrit Review Id 37379

2022-10-10 Thread lihuawei
Hi Dave, I have added a fix as gerrit review id 37379. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37379 short description: "set policer classify interface loop1 ip4-table 0 del" may raise crash when worker threads handoff process ip4-policer-classify

[vpp-dev] Gerrit Review Id 37303

2022-10-10 Thread lihuawei
Hi community, I have added a fix as gerrit review id 37303. gerrit link: https://gerrit.fd.io/r/c/vpp/+/37303 short description: Vpp will crash when create vxlan/vxlan-gpe/geneve/gtpu tunnel with 0.0.0.0 dst ip in debug build. The