Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F161372102
D8933.id23318.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.id23318.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
Sat, Jul 4, 5:48 AM (17 h, 35 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34633364
Default Alt Text
D8933.id23318.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