Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
Conflicts: drivers/net/usb/qmi_wwan.c net/batman-adv/translation-table.c net/ipv6/route.c qmi_wwan.c resolution provided by Bjørn Mork. batman-adv conflict is dealing merely with the changes of global function names to have a proper subsystem prefix. ipv6's route.c conflict is merely two side-by-side additions of network namespace methods. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -122,8 +122,10 @@ config IGB_DCA
|
||||
|
||||
config IGB_PTP
|
||||
bool "PTP Hardware Clock (PHC)"
|
||||
default y
|
||||
depends on IGB && PTP_1588_CLOCK
|
||||
default n
|
||||
depends on IGB && EXPERIMENTAL
|
||||
select PPS
|
||||
select PTP_1588_CLOCK
|
||||
---help---
|
||||
Say Y here if you want to use PTP Hardware Clock (PHC) in the
|
||||
driver. Only the basic clock operations have been implemented.
|
||||
@@ -223,7 +225,9 @@ config IXGBE_DCB
|
||||
config IXGBE_PTP
|
||||
bool "PTP Clock Support"
|
||||
default n
|
||||
depends on IXGBE && PTP_1588_CLOCK
|
||||
depends on IXGBE && EXPERIMENTAL
|
||||
select PPS
|
||||
select PTP_1588_CLOCK
|
||||
---help---
|
||||
Say Y here if you want support for 1588 Timestamping with a
|
||||
PHC device, using the PTP 1588 Clock support. This is
|
||||
|
@@ -206,8 +206,6 @@ static s32 igb_get_invariants_82575(struct e1000_hw *hw)
|
||||
mac->rar_entry_count = E1000_RAR_ENTRIES_82580;
|
||||
break;
|
||||
case e1000_i350:
|
||||
case e1000_i210:
|
||||
case e1000_i211:
|
||||
mac->rar_entry_count = E1000_RAR_ENTRIES_I350;
|
||||
break;
|
||||
default:
|
||||
|
@@ -1146,7 +1146,7 @@ static bool ixgbe_alloc_mapped_page(struct ixgbe_ring *rx_ring,
|
||||
|
||||
/* alloc new page for storage */
|
||||
if (likely(!page)) {
|
||||
page = alloc_pages(GFP_ATOMIC | __GFP_COLD,
|
||||
page = alloc_pages(GFP_ATOMIC | __GFP_COLD | __GFP_COMP,
|
||||
ixgbe_rx_pg_order(rx_ring));
|
||||
if (unlikely(!page)) {
|
||||
rx_ring->rx_stats.alloc_rx_page_failed++;
|
||||
|
@@ -787,6 +787,7 @@ void ixgbe_ptp_start_cyclecounter(struct ixgbe_adapter *adapter)
|
||||
{
|
||||
struct ixgbe_hw *hw = &adapter->hw;
|
||||
u32 incval = 0;
|
||||
u32 timinca = 0;
|
||||
u32 shift = 0;
|
||||
u32 cycle_speed;
|
||||
unsigned long flags;
|
||||
@@ -809,8 +810,16 @@ void ixgbe_ptp_start_cyclecounter(struct ixgbe_adapter *adapter)
|
||||
break;
|
||||
}
|
||||
|
||||
/* Bail if the cycle speed didn't change */
|
||||
if (adapter->cycle_speed == cycle_speed)
|
||||
/*
|
||||
* grab the current TIMINCA value from the register so that it can be
|
||||
* double checked. If the register value has been cleared, it must be
|
||||
* reset to the correct value for generating a cyclecounter. If
|
||||
* TIMINCA is zero, the SYSTIME registers do not increment at all.
|
||||
*/
|
||||
timinca = IXGBE_READ_REG(hw, IXGBE_TIMINCA);
|
||||
|
||||
/* Bail if the cycle speed didn't change and TIMINCA is non-zero */
|
||||
if (adapter->cycle_speed == cycle_speed && timinca)
|
||||
return;
|
||||
|
||||
/* disable the SDP clock out */
|
||||
|
Reference in New Issue
Block a user