Re: [dpdk-dev] [PATCH v2 5/5] net/fm10k: add switch management support

2020-03-04 Thread Xiaojun Liu
Hi Xiao, Thank you! Did you received my new patches last weekend? BTW, I updated to the latest dpdk as the code base. Best regards, Xiaojun From: Wang, Xiao W Sent: Tuesday, February 25, 2020 7:28 PM To: Xiaojun Liu ; Zhang, Qi Z ; Kwan, Ngai-mint ; Keller, Jac

Re: [dpdk-dev] [PATCH v2 5/5] net/fm10k: add switch management support

2020-02-25 Thread Xiaojun Liu
Hi Xiao, Thank you! I will follow your comments. Best regards, Xiaojun From: Wang, Xiao W Sent: Tuesday, February 25, 2020 7:28 PM To: Xiaojun Liu ; Zhang, Qi Z ; Kwan, Ngai-mint ; Keller, Jacob E Cc: dev@dpdk.org ; Ye, Xiaolong Subject: RE: [PATCH v2 5/5] ne

Re: [dpdk-dev] [PATCH v2 5/5] net/fm10k: add switch management support

2020-02-25 Thread Wang, Xiao W
Hi Xiaojun, Gather some comments about the code changes to original file: Based on the latest dpdk, "git am" will fail with the Makefile. Add CONFIG_RTE_FM10K_MANAGEMENT=n as a default option into ./config is better. If user wants to turn on this switch feature, it's easier to just change "n" t

[dpdk-dev] [PATCH v2 5/5] net/fm10k: add switch management support

2020-02-20 Thread Xiaojun Liu
Split dev init to 2 parts. First only register the port in switch management; second init hook will be called after all the pf are registered and switch initialization. It will finish dev init. Also add switch interrupt support. Add fm10k_mirror_rule_set/fm10k_mirror_rule_reset to support mirror op