Print this page
3014 Intel X540 Support

*** 23,32 **** --- 23,33 ---- * Copyright(c) 2007-2010 Intel Corporation. All rights reserved. */ /* * Copyright (c) 2008, 2010, Oracle and/or its affiliates. All rights reserved. + * Copyright 2012 Nexenta Systems, Inc. All rights reserved. */ #include "ixgbe_sw.h" /*
*** 110,119 **** --- 111,121 ---- ixgbe_ks->qbtc[i].value.ui64 += IXGBE_READ_REG(hw, IXGBE_QBTC(i)); break; case ixgbe_mac_82599EB: + case ixgbe_mac_X540: ixgbe_ks->qbtc[i].value.ui64 += IXGBE_READ_REG(hw, IXGBE_QBTC_L(i)); ixgbe_ks->qbtc[i].value.ui64 += ((uint64_t)((IXGBE_READ_REG(hw, IXGBE_QBTC_H(i))) & 0xF) << 32);
*** 163,172 **** --- 165,175 ---- ixgbe_ks->lxonrxc.value.ui64 += IXGBE_READ_REG(hw, IXGBE_LXONRXC); break; case ixgbe_mac_82599EB: + case ixgbe_mac_X540: ixgbe_ks->lxonrxc.value.ui64 += IXGBE_READ_REG(hw, IXGBE_LXONRXCNT); break; default:
*** 178,187 **** --- 181,191 ---- ixgbe_ks->lxoffrxc.value.ui64 += IXGBE_READ_REG(hw, IXGBE_LXOFFRXC); break; case ixgbe_mac_82599EB: + case ixgbe_mac_X540: ixgbe_ks->lxoffrxc.value.ui64 += IXGBE_READ_REG(hw, IXGBE_LXOFFRXCNT); break; default:
*** 554,563 **** --- 558,568 ---- ixgbe_ks->qbtc[i].value.ui64 += IXGBE_READ_REG(hw, IXGBE_QBTC(i)); break; case ixgbe_mac_82599EB: + case ixgbe_mac_X540: ixgbe_ks->qbtc[i].value.ui64 += IXGBE_READ_REG(hw, IXGBE_QBTC_L(i)); ixgbe_ks->qbtc[i].value.ui64 += ((uint64_t)((IXGBE_READ_REG(hw, IXGBE_QBTC_H(i))) & 0xF) << 32);