| .. | .. |
|---|
| 309 | 309 | * is not supported for this device type. |
|---|
| 310 | 310 | */ |
|---|
| 311 | 311 | switch (hw->api_version) { |
|---|
| 312 | + case ixgbe_mbox_api_14: |
|---|
| 312 | 313 | case ixgbe_mbox_api_13: |
|---|
| 313 | 314 | case ixgbe_mbox_api_12: |
|---|
| 314 | 315 | if (hw->mac.type < ixgbe_mac_X550_vf) |
|---|
| 315 | 316 | break; |
|---|
| 316 | | - /* fall through */ |
|---|
| 317 | + fallthrough; |
|---|
| 317 | 318 | default: |
|---|
| 318 | 319 | return -EOPNOTSUPP; |
|---|
| 319 | 320 | } |
|---|
| .. | .. |
|---|
| 376 | 377 | * or if the operation is not supported for this device type. |
|---|
| 377 | 378 | */ |
|---|
| 378 | 379 | switch (hw->api_version) { |
|---|
| 380 | + case ixgbe_mbox_api_14: |
|---|
| 379 | 381 | case ixgbe_mbox_api_13: |
|---|
| 380 | 382 | case ixgbe_mbox_api_12: |
|---|
| 381 | 383 | if (hw->mac.type < ixgbe_mac_X550_vf) |
|---|
| 382 | 384 | break; |
|---|
| 383 | | - /* fall through */ |
|---|
| 385 | + fallthrough; |
|---|
| 384 | 386 | default: |
|---|
| 385 | 387 | return -EOPNOTSUPP; |
|---|
| 386 | 388 | } |
|---|
| .. | .. |
|---|
| 506 | 508 | vector_list[i++] = ixgbevf_mta_vector(hw, ha->addr); |
|---|
| 507 | 509 | } |
|---|
| 508 | 510 | |
|---|
| 509 | | - ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, IXGBE_VFMAILBOX_SIZE); |
|---|
| 510 | | - |
|---|
| 511 | | - return 0; |
|---|
| 511 | + return ixgbevf_write_msg_read_ack(hw, msgbuf, msgbuf, |
|---|
| 512 | + IXGBE_VFMAILBOX_SIZE); |
|---|
| 512 | 513 | } |
|---|
| 513 | 514 | |
|---|
| 514 | 515 | /** |
|---|
| .. | .. |
|---|
| 539 | 540 | /* promisc introduced in 1.3 version */ |
|---|
| 540 | 541 | if (xcast_mode == IXGBEVF_XCAST_MODE_PROMISC) |
|---|
| 541 | 542 | return -EOPNOTSUPP; |
|---|
| 542 | | - /* Fall threw */ |
|---|
| 543 | + fallthrough; |
|---|
| 544 | + case ixgbe_mbox_api_14: |
|---|
| 543 | 545 | case ixgbe_mbox_api_13: |
|---|
| 544 | 546 | break; |
|---|
| 545 | 547 | default: |
|---|
| .. | .. |
|---|
| 890 | 892 | case ixgbe_mbox_api_11: |
|---|
| 891 | 893 | case ixgbe_mbox_api_12: |
|---|
| 892 | 894 | case ixgbe_mbox_api_13: |
|---|
| 895 | + case ixgbe_mbox_api_14: |
|---|
| 893 | 896 | break; |
|---|
| 894 | 897 | default: |
|---|
| 895 | 898 | return 0; |
|---|