|
@@ -330,6 +330,8 @@ unsigned int t1_sched_update_parms(struct sge *sge, unsigned int port,
|
|
|
return max_avail_segs * (p->mtu - 40);
|
|
|
}
|
|
|
|
|
|
+#if 0
|
|
|
+
|
|
|
/*
|
|
|
* t1_sched_max_avail_bytes() tells the scheduler the maximum amount of
|
|
|
* data that can be pushed per port.
|
|
@@ -357,6 +359,8 @@ void t1_sched_set_drain_bits_per_us(struct sge *sge, unsigned int port,
|
|
|
t1_sched_update_parms(sge, port, 0, 0);
|
|
|
}
|
|
|
|
|
|
+#endif /* 0 */
|
|
|
+
|
|
|
|
|
|
/*
|
|
|
* get_clock() implements a ns clock (see ktime_get)
|