修复HNS RoCE Bonding中并未拦截参与组Bond的PF使能VF的问题
Hi hginjgerx, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: Kernel, and any of the maintainers: @YangYingliang , @成坚 (CHENG Jian) , @jiaoff , @zhengzengkai , @刘勇强 , @wangxiongfeng , @朱科潜 , @WangShaoBo , @lujialin , @wuxu_buque , @Xu Kuohai , @冷嘲啊 , @Lingmingqiang , @yuzenghui , @juntian , @OSSIM , @陈结松 , @whoisxxx , @koulihong , @刘恺 , @hanjun-guo , @woqidaideshi , @Chiqijun , @Kefeng , @ThunderTown , @AlexGuo , @kylin-mayukun , @Zheng Zucheng , @柳歆 , @Jackie Liu , @zhujianwei001 , @郑振鹏 , @SuperSix173 , @colyli , @Zhang Yi , @htforge , @Qiuuuuu , @Yuehaibing , @xiehaocheng , @guzitao , @CTC-Xibo.Wang , @zhanghongchen , @chen wei , @Jason Zeng , @苟浩 , @DuanqiangWen , @georgeguo , @毛泓博 , @AllenShi , @Xie XiuQi
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
root@fpga:/root# ifenslave bond0 eth1 eth2
[63168.146817] hns3 0000:35:00.0 eth1: net stop
[ 63625.[46317685.16]416[5] 0hns-3 00000]:35[:00 .0 eth 1: lin k d own0
][IMP-info]mac_id 0 (ncsi en)set enable 0
[63168.210398] hns3 0000:35:00.0 eth1: already using mac address 4a:::**:a4:dd
[ 63625.560][0-0][ [63 1680.25]096[8] IhnsM3 0P000-:35i:00n.0 fetho1: ]netm opaen
c
_id 0 (ncsi en)set enable 1
[ 63625.570][0-0][ 0][IMP-info]IMP report mac 0 link status 0, event 0
[ 63625.575][0-0][ 0][IMP-info]IMP report mac 0 link status 1, event 0
[63168.254623] hns3 0000:35:00.0 eth1: link up
[63168.312739] 8021q: adding VLAN 0 to HW filter on device eth1
[63168.428607] bond0: (slave eth1): Enslaving as an active interface with an up link
[63168.470072] IPv6: ADDRCONF(NETDEV_CHANGE): bond0: link becomes ready
[63168.521223] hns3 0000:35:00.1 eth2: net stop
[ 6362[5631.68.584157345] h]ns3[ 00000:-35:000.]1 e[th2 : l ink do wn
0][IMP-info]mac_id 2 (ncsi dis)set enable 0
[ 63625.860][0-0][ 0][IMP-info]IMP report mac 2 link status 0, event 0
[ 63625.940][0-0][ 0][IMP[6-31i68.n627f625o] ]hnsm3 0a000c:35_:0i0.1d et h22: n et op(en
n
csi dis)set enable 1
[ 63625.950][0-0][ 0][IMP-info]IMP report mac 2 link status 1, event 0
[63168.639018] hns3 0000:35:00.1 eth2: link up
[63168.677579] 8021q: adding VLAN 0 to HW filter on device eth2
[63168.816011] bond0: (slave eth2): Enslaving as an active interface with an up link
root@fpga:/root# [63169.786990] hns3 0000:35:00.0 hns_0: do_bond: bond_ready - 1, bond_state - 0.
[63178.634450] hns3 0000:35:00.1: config dfx dev name - hns_bond_0
[63181.645035] hns3 0000:35:00.1 hns_bond_0: RoCE set bond finished!
root@fpga:/root# rdma link
link hns_bond_0/1 state ACTIVE physical_state LINK_UP netdev eth1
root@fpga:/root# echo 1 > /sys/class/net/eth1/device/sriov_numvfs
[63197.382803] pci 0000:35:01.0: [19e5:a22f] type 00 class 0x020000
[63197.390408] pci 0000:35:01.0: enabling Extended Tags
[63197.425898] hns3 0000:35:01.0: Failed to enable PASID
[63197.437203] hns3 0000:35:01.0: Adding to iommu group 5
[63197.457601] hns3 0000:35:01.0: enabling device (0000 -> 0002)
[63197.481427] hns3 0000:35:01.0: The firmware version is 3.10.3.7
[ 63654.800][0-0][ 0][IMP-info]imp_driver compt cmdq 0x8, val 0x3b
[ 63654.810][0-0][ 0][IMP-info]cmdq 0x8, intr ageing 1
[63197.652641] hns3 0000:35:01.0: finished initializing hclgevf driver
[63197.667826] hns3 0000:35:01.0: using random MAC address 2a::::15:3e
[63197.920117] hns3 0000:35:01.0: fail to instantiate client, ret = -95
[63197.928200] hns3 0000:35:01.0: match and instantiation failed, ret = -95
root@fpga:/root# echo 1 > /sys/class/net/eth2/device/sriov_numvfs
[63206.133269] pci 0000:35:01.4: [19e5:a22f] type 00 class 0x020000
[63206.140720] pci 0000:35:01.4: enabling Extended Tags
[63206.175498] hns3 0000:35:01.4: Failed to enable PASID
[63206.186867] hns3 0000:35:01.4: Adding to iommu group 6
[63206.209457] hns3 0000:35:01.4: enabling device (0000 -> 0002)
[63206.232322] hns3 0000:35:01.4: The firmware version is 3.10.3.7
[ 63663.555][0-0][ 0][IMP-info]imp_driver compt cmdq 0xc, val 0x3b
[ 63663.560][0-0][ 0][IMP-info]cmdq 0xc, intr ageing 1
[63206.416818] hns3 0000:35:01.4: finished initializing hclgevf driver
[63206.430967] hns3 0000:35:01.4: using random MAC address ee::::40:bd
[63206.682712] hns3 0000:35:01.4: fail to instantiate client, ret = -95
[63206.692738] hns3 0000:35:01.4: match and instantiation failed, ret = -95
登录 后才可以发表评论