Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci/ixgbe Call ixgbe_free_transmit_buffers instead o...



details:   https://anonhg.NetBSD.org/src/rev/4fc79714a178
branches:  trunk
changeset: 820985:4fc79714a178
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Wed Jan 18 08:15:22 2017 +0000

description:
Call ixgbe_free_transmit_buffers instead of ixgbe_free_transmit_structures()
in ixgbe_allocate_transmit_buffers()...

diffstat:

 sys/dev/pci/ixgbe/ix_txrx.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (24 lines):

diff -r 085bc99778c3 -r 4fc79714a178 sys/dev/pci/ixgbe/ix_txrx.c
--- a/sys/dev/pci/ixgbe/ix_txrx.c       Wed Jan 18 06:02:50 2017 +0000
+++ b/sys/dev/pci/ixgbe/ix_txrx.c       Wed Jan 18 08:15:22 2017 +0000
@@ -59,7 +59,7 @@
  * POSSIBILITY OF SUCH DAMAGE.
  */
 /*$FreeBSD: head/sys/dev/ixgbe/ix_txrx.c 301538 2016-06-07 04:51:50Z sephe $*/
-/*$NetBSD: ix_txrx.c,v 1.14 2017/01/05 05:53:23 msaitoh Exp $*/
+/*$NetBSD: ix_txrx.c,v 1.15 2017/01/18 08:15:22 msaitoh Exp $*/
 
 #include "opt_inet.h"
 #include "opt_inet6.h"
@@ -567,7 +567,11 @@
        return 0;
 fail:
        /* We free all, it handles case where we are in the middle */
+#if 0 /* XXX was FreeBSD */
        ixgbe_free_transmit_structures(adapter);
+#else
+       ixgbe_free_transmit_buffers(txr);
+#endif
        return (error);
 }
 



Home | Main Index | Thread Index | Old Index