hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/net/ethernet/intel/ixgbe/ixgbe_82599.c
....@@ -1048,7 +1048,7 @@
10481048 * clear the multicast table. Also reset num_rar_entries to 128,
10491049 * since we modify this value when programming the SAN MAC address.
10501050 */
1051
- hw->mac.num_rar_entries = 128;
1051
+ hw->mac.num_rar_entries = IXGBE_82599_RAR_ENTRIES;
10521052 hw->mac.ops.init_rx_addrs(hw);
10531053
10541054 /* Store the permanent SAN mac address */
....@@ -1568,7 +1568,7 @@
15681568 case 0x0000:
15691569 /* mask VLAN ID */
15701570 fdirm |= IXGBE_FDIRM_VLANID;
1571
- /* fall through */
1571
+ fallthrough;
15721572 case 0x0FFF:
15731573 /* mask VLAN priority */
15741574 fdirm |= IXGBE_FDIRM_VLANP;
....@@ -1576,7 +1576,7 @@
15761576 case 0xE000:
15771577 /* mask VLAN ID only */
15781578 fdirm |= IXGBE_FDIRM_VLANID;
1579
- /* fall through */
1579
+ fallthrough;
15801580 case 0xEFFF:
15811581 /* no VLAN fields masked */
15821582 break;
....@@ -1589,7 +1589,7 @@
15891589 case 0x0000:
15901590 /* Mask Flex Bytes */
15911591 fdirm |= IXGBE_FDIRM_FLEX;
1592
- /* fall through */
1592
+ fallthrough;
15931593 case 0xFFFF:
15941594 break;
15951595 default: