Linux bonding????????????????
???????????? ???????[ 2013/5/23 10:16:03 ] ????????
????????κ????????????????У???????????slave??????
bond_for_each_slave(bond?? slave?? i) {
slave->new_link = BOND_LINK_NOCHANGE;
link_state = bond_check_dev_link(bond?? slave->dev?? 0);
switch (slave->link) {
case BOND_LINK_UP:
if (link_state)
continue;
//?????????FAIL??????????bond_set_carrier??????off??bonding????
slave->link = BOND_LINK_FAIL;
...
???????????????????????????????????????????в????????е???bond_set_carrier?????netif_carrier_off???????????????netif_carrier_ok?ж???????????????????????????bonding???????????state????????漰__LINK_STATE_NOCARRIER???bit?????????????????????????????????????????????bond_open???return 0???????????
netif_carrier_on(bond->dev);
??????????????????????????????bond_set_carrier??????
if (bond->slave_cnt == 0)
goto down;
???slave_cnt?0??????????netif_carrier_on??bonding????????????????????????μ?slave????????????????
if (bond->slave_cnt == 0) {
netif_carrier_on(bond->dev)
goto down;
}
???????????????????????????????????????????????????б?????????????????????????????????????????????????????е???????????????????κ?????????????????????????kernel?????????????????????????????carrier?????
??????????
????????????????????????????????????????????????????????£???????????????????????????????γ?????????????????????????????????????????????????????????????????????????????????????????????????????????????????а?????????????????????????????????????????????????????????????????????????????磬??kernel??????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11