git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/sfc/base: move RxDP config get to EF10 NIC code
[dpdk.git]
/
drivers
/
net
/
sfc
/
base
/
hunt_nic.c
diff --git
a/drivers/net/sfc/base/hunt_nic.c
b/drivers/net/sfc/base/hunt_nic.c
index
d03cc13
..
fb39850
100644
(file)
--- a/
drivers/net/sfc/base/hunt_nic.c
+++ b/
drivers/net/sfc/base/hunt_nic.c
@@
-306,6
+306,7
@@
hunt_board_cfg(
encp->enc_buftbl_limit = 0xFFFFFFFF;
+ EFX_STATIC_ASSERT(HUNT_PIOBUF_NBUFS <= EF10_MAX_PIOBUF_NBUFS);
encp->enc_piobuf_limit = HUNT_PIOBUF_NBUFS;
encp->enc_piobuf_size = HUNT_PIOBUF_SIZE;
encp->enc_piobuf_min_alloc_size = HUNT_MIN_PIO_ALLOC_SIZE;