Page MenuHomeFreeBSD

D8933.id23345.diff
No OneTemporary

D8933.id23345.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
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)

Event Timeline