mirror of
https://github.com/ipxe/ipxe
synced 2025-12-14 07:50:43 +03:00
[undi] Report any PXENV_UNDI_ISR errors via netdev_rx_err()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -370,8 +370,10 @@ static void undinet_poll ( struct net_device *netdev ) {
|
|||||||
profile_start ( &undinet_isr_call_profiler );
|
profile_start ( &undinet_isr_call_profiler );
|
||||||
if ( ( rc = pxeparent_call ( undinet_entry, PXENV_UNDI_ISR,
|
if ( ( rc = pxeparent_call ( undinet_entry, PXENV_UNDI_ISR,
|
||||||
&undi_isr,
|
&undi_isr,
|
||||||
sizeof ( undi_isr ) ) ) != 0 )
|
sizeof ( undi_isr ) ) ) != 0 ) {
|
||||||
|
netdev_rx_err ( netdev, NULL, rc );
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
profile_stop ( &undinet_isr_call_profiler );
|
profile_stop ( &undinet_isr_call_profiler );
|
||||||
switch ( undi_isr.FuncFlag ) {
|
switch ( undi_isr.FuncFlag ) {
|
||||||
case PXENV_UNDI_ISR_OUT_TRANSMIT:
|
case PXENV_UNDI_ISR_OUT_TRANSMIT:
|
||||||
|
|||||||
Reference in New Issue
Block a user