Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F167710735
D8933.id23345.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
676 B
Referenced Files
None
Subscribers
None
D8933.id23345.diff
View Options
Index: head/sys/dev/sfxge/common/medford_nic.c
===================================================================
--- head/sys/dev/sfxge/common/medford_nic.c
+++ head/sys/dev/sfxge/common/medford_nic.c
@@ -289,8 +289,13 @@
encp->enc_rx_buf_align_start = 1;
/* Get the RX DMA end padding alignment configuration */
- if ((rc = efx_mcdi_get_rxdp_config(enp, &end_padding)) != 0)
- goto fail11;
+ if ((rc = efx_mcdi_get_rxdp_config(enp, &end_padding)) != 0) {
+ if (rc != EACCES)
+ goto fail11;
+
+ /* Assume largest tail padding size supported by hardware */
+ end_padding = 256;
+ }
encp->enc_rx_buf_align_end = end_padding;
/* Alignment for WPTR updates */
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Aug 24, 10:04 PM (20 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37211709
Default Alt Text
D8933.id23345.diff (676 B)
Attached To
Mode
D8933: sfxge(4): fix GET_RXDP_CONFIG usage for multi-PF on Medford
Attached
Detach File
Event Timeline
Log In to Comment