Skip to content

Commit 6608b95

Browse files
author
Paolo Abeni
committed
Merge branch 'add-aarch64-support-for-fbnic'
Dimitri Daskalakis says: ==================== Add aarch64 support for FBNIC We need to support aarch64 with 64K PAGE_SIZE, and I uncovered an issue during testing. ==================== Link: https://patch.msgid.link/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
2 parents cb85ca4 + 75b3508 commit 6608b95

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

drivers/net/ethernet/meta/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if NET_VENDOR_META
1919

2020
config FBNIC
2121
tristate "Meta Platforms Host Network Interface"
22-
depends on X86_64 || COMPILE_TEST
22+
depends on 64BIT || COMPILE_TEST
2323
depends on !S390
2424
depends on MAX_SKB_FRAGS < 22
2525
depends on PCI_MSI

drivers/net/ethernet/meta/fbnic/fbnic_txrx.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -887,6 +887,7 @@ static void fbnic_bd_prep(struct fbnic_ring *bdq, u16 id, netmem_ref netmem)
887887
*bdq_desc = cpu_to_le64(bd);
888888
bd += FIELD_PREP(FBNIC_BD_DESC_ADDR_MASK, 1) |
889889
FIELD_PREP(FBNIC_BD_DESC_ID_MASK, 1);
890+
bdq_desc++;
890891
} while (--i);
891892
}
892893

0 commit comments

Comments
 (0)