Deleted Added
full compact
oce_if.h (259050) oce_if.h (268046)
1/*-
2 * Copyright (C) 2013 Emulex
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

--- 22 unchanged lines hidden (view full) ---

31 * Contact Information:
32 * freebsd-drivers@emulex.com
33 *
34 * Emulex
35 * 3333 Susan Street
36 * Costa Mesa, CA 92626
37 */
38
1/*-
2 * Copyright (C) 2013 Emulex
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met:
7 *
8 * 1. Redistributions of source code must retain the above copyright notice,

--- 22 unchanged lines hidden (view full) ---

31 * Contact Information:
32 * freebsd-drivers@emulex.com
33 *
34 * Emulex
35 * 3333 Susan Street
36 * Costa Mesa, CA 92626
37 */
38
39/* $FreeBSD: stable/10/sys/dev/oce/oce_if.h 259050 2013-12-06 23:30:46Z delphij $ */
39/* $FreeBSD: stable/10/sys/dev/oce/oce_if.h 268046 2014-06-30 16:23:31Z delphij $ */
40
41#include <sys/param.h>
42#include <sys/endian.h>
43#include <sys/module.h>
44#include <sys/kernel.h>
45#include <sys/bus.h>
46#include <sys/mbuf.h>
47#include <sys/rman.h>

--- 706 unchanged lines hidden (view full) ---

754 OCE_LOCK rx_lock;
755 struct oce_rx_queue_stats rx_stats;
756 struct lro_ctrl lro;
757 int lro_pkts_queued;
758
759};
760
761struct link_status {
40
41#include <sys/param.h>
42#include <sys/endian.h>
43#include <sys/module.h>
44#include <sys/kernel.h>
45#include <sys/bus.h>
46#include <sys/mbuf.h>
47#include <sys/rman.h>

--- 706 unchanged lines hidden (view full) ---

754 OCE_LOCK rx_lock;
755 struct oce_rx_queue_stats rx_stats;
756 struct lro_ctrl lro;
757 int lro_pkts_queued;
758
759};
760
761struct link_status {
762 uint8_t physical_port;
763 uint8_t mac_duplex;
764 uint8_t mac_speed;
765 uint8_t mac_fault;
766 uint8_t mgmt_mac_duplex;
767 uint8_t mgmt_mac_speed;
762 uint8_t phys_port_speed;
763 uint8_t logical_link_status;
768 uint16_t qos_link_speed;
764 uint16_t qos_link_speed;
769 uint32_t logical_link_status;
770};
771
772
773
774#define OCE_FLAGS_PCIX 0x00000001
775#define OCE_FLAGS_PCIE 0x00000002
776#define OCE_FLAGS_MSI_CAPABLE 0x00000004
777#define OCE_FLAGS_MSIX_CAPABLE 0x00000008

--- 387 unchanged lines hidden ---
765};
766
767
768
769#define OCE_FLAGS_PCIX 0x00000001
770#define OCE_FLAGS_PCIE 0x00000002
771#define OCE_FLAGS_MSI_CAPABLE 0x00000004
772#define OCE_FLAGS_MSIX_CAPABLE 0x00000008

--- 387 unchanged lines hidden ---