Lines Matching +full:hi +full:- +full:speed
2 * Copyright (c) 2017-2018 Cavium, Inc.
60 #define HILO_U64(hi, lo) ((((u64)(hi)) << 32) + (lo)) argument
88 * buffer on the rx-bd-ring when we receive TPA_START. We don't want
90 * consumer buffer in the rx-chain since FW may still be writing to it
163 #define BD_UNMAP_ADDR(bd) HILO_U64(le32toh((bd)->addr.hi), \
164 le32toh((bd)->addr.lo))
165 #define BD_UNMAP_LEN(bd) (le16toh((bd)->nbytes))
169 (bd)->addr.hi = htole32(U64_HI(maddr)); \
170 (bd)->addr.lo = htole32(U64_LO(maddr)); \
171 (bd)->nbytes = htole16(len); \
272 uint32_t speed; /* In Mb/s */ member
441 #define QLNX_MAX_TSS_CNT(ha) ((ha->num_rss) * (ha->num_tc))
509 #define QL_ALIGN(size, align) (((size) + ((align) - 1)) & (~((align) - 1)));
517 #define QLNX_MAX_SEGMENTS_NON_TSO (ETH_TX_MAX_BDS_PER_NON_LSO_PACKET - 1)
518 //#define QLNX_MAX_TSO_FRAME_SIZE ((64 * 1024 - 1) + 22)
520 #define QLNX_MAX_TX_MBUF_SIZE 65536 /* bytes - bd_len = 16bits */
525 #define for_each_rss(i) for (i = 0; i < ha->num_rss; i++)
535 if ((ha)->dbg_level & 0x0001) { \
536 device_printf ((ha)->pci_dev, \
545 if ((ha)->dbg_level & 0x0002) { \
546 device_printf ((ha)->pci_dev, \
555 if ((ha)->dbg_level & 0x0004) { \
556 device_printf ((ha)->pci_dev, \
565 if ((ha)->dbg_level & 0x0008) { \
566 device_printf ((ha)->pci_dev, \
575 if ((ha)->dbg_level & 0x0010) { \
576 device_printf ((ha)->pci_dev, \
585 if ((ha)->dbg_level & 0x0020) { \
586 device_printf ((ha)->pci_dev, \
595 if ((ha)->dbg_level & 0x0040) { \
596 device_printf ((ha)->pci_dev, \
605 if ((ha)->dbg_level & 0x0080) { \
606 device_printf ((ha)->pci_dev, \
615 if ((ha)->dbg_level & 0x0100) { \
616 device_printf ((ha)->pci_dev, \
625 if ((ha)->dbg_level & 0x0400) { \
626 device_printf ((ha)->pci_dev, \
635 if ((ha)->dbg_level & 0x0800) { \
636 device_printf ((ha)->pci_dev, \
645 if ((ha)->dbg_level & 0x1000) { \
646 device_printf ((ha)->pci_dev, \
672 #define QL_ERR_INJECT(ha, val) (ha->err_inject == val)
673 #define QL_RESET_ERR_INJECT(ha, val) {if (ha->err_inject == val) ha->err_inject = 0;}
724 if_inc_counter(ha->ifp, IFCOUNTER_IBYTES, len)