From: Wenzhuo Lu Date: Fri, 16 Oct 2015 02:50:53 +0000 (+0800) Subject: e1000/base: add defaults for i210 Rx/Tx PBSIZE X-Git-Tag: spdx-start~8329 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9fa668f29bdd04af58515d37302f67cdfc1c9987;p=dpdk.git e1000/base: add defaults for i210 Rx/Tx PBSIZE These are the defaults for the packet buffer size registers that need to be explicitly set back if someone changes them and comes back to a normal driver. Signed-off-by: Wenzhuo Lu --- diff --git a/drivers/net/e1000/base/e1000_defines.h b/drivers/net/e1000/base/e1000_defines.h index 79a88bb2ca..8e40771403 100644 --- a/drivers/net/e1000/base/e1000_defines.h +++ b/drivers/net/e1000/base/e1000_defines.h @@ -1468,6 +1468,8 @@ POSSIBILITY OF SUCH DAMAGE. #define E1000_RXPBS_CFG_TS_EN 0x80000000 /* Timestamp in Rx buffer */ #define E1000_RXPBS_SIZE_I210_MASK 0x0000003F /* Rx packet buffer size */ #define E1000_TXPB0S_SIZE_I210_MASK 0x0000003F /* Tx packet buffer 0 size */ +#define I210_RXPBSIZE_DEFAULT 0x000000A2 /* RXPBSIZE default */ +#define I210_TXPBSIZE_DEFAULT 0x04000014 /* TXPBSIZE default */ /* Proxy Filter Control */