rge driver doesn't support RTL8101E suspend and resume currently.
When doing S/R, the device will lose its PCI base address configuration.
"scanpci -v" output is as follows:
pci bus 0x0003 cardnum 0x00 function 0x00: vendor 0x10ec device 0x8136
Realtek Semiconductor Co., Ltd. RTL8101E PCI Express Fast Ethernet controller
STATUS 0x0010 COMMAND 0x0047
CLASS 0x02 0x00 0x00 REVISION 0x01
BIST 0x00 HEADER 0x00 LATENCY 0x00 CACHE 0x08
BASE0 0x00000002 addr 0x00000000 I/O
BASE2 0x0000000000000000 addr 0x0000000000000000 MEM 64BIT
MAX_LAT 0x00 MIN_GNT 0x00 INT_PIN 0x01 INT_LINE 0x07
BYTE_0 0x01 BYTE_1 0x48 BYTE_2 0xc2 BYTE_3 0xf7
The pci-e configuration space lost problem mentioned above is actually a PCI-E framework issue. It has nothing to do with rge driver. Another issue discovered is that rge can't receive any packets after resuming.