Page MenuHomeFreeBSD

D8933.id23318.diff
No OneTemporary

D8933.id23318.diff

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

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)

Event Timeline