ixgbe.h (7168e947291f0ead07e5638b4599fb7845288b69) | ixgbe.h (8ac34f10a5ea4c7b6f57dfd52b0693a2b67d9ac4) |
---|---|
1/******************************************************************************* 2 3 Intel 10 Gigabit PCI Express Linux driver 4 Copyright(c) 1999 - 2013 Intel Corporation. 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms and conditions of the GNU General Public License, 8 version 2, as published by the Free Software Foundation. --- 525 unchanged lines hidden (view full) --- 534 535/* 536 * microsecond values for various ITR rates shifted by 2 to fit itr register 537 * with the first 3 bits reserved 0 538 */ 539#define IXGBE_MIN_RSC_ITR 24 540#define IXGBE_100K_ITR 40 541#define IXGBE_20K_ITR 200 | 1/******************************************************************************* 2 3 Intel 10 Gigabit PCI Express Linux driver 4 Copyright(c) 1999 - 2013 Intel Corporation. 5 6 This program is free software; you can redistribute it and/or modify it 7 under the terms and conditions of the GNU General Public License, 8 version 2, as published by the Free Software Foundation. --- 525 unchanged lines hidden (view full) --- 534 535/* 536 * microsecond values for various ITR rates shifted by 2 to fit itr register 537 * with the first 3 bits reserved 0 538 */ 539#define IXGBE_MIN_RSC_ITR 24 540#define IXGBE_100K_ITR 40 541#define IXGBE_20K_ITR 200 |
542#define IXGBE_10K_ITR 400 543#define IXGBE_8K_ITR 500 | 542#define IXGBE_12K_ITR 336 |
544 545/* ixgbe_test_staterr - tests bits in Rx descriptor status and error fields */ 546static inline __le32 ixgbe_test_staterr(union ixgbe_adv_rx_desc *rx_desc, 547 const u32 stat_err_bits) 548{ 549 return rx_desc->wb.upper.status_error & cpu_to_le32(stat_err_bits); 550} 551 --- 426 unchanged lines hidden --- | 543 544/* ixgbe_test_staterr - tests bits in Rx descriptor status and error fields */ 545static inline __le32 ixgbe_test_staterr(union ixgbe_adv_rx_desc *rx_desc, 546 const u32 stat_err_bits) 547{ 548 return rx_desc->wb.upper.status_error & cpu_to_le32(stat_err_bits); 549} 550 --- 426 unchanged lines hidden --- |