| /dpdk/drivers/net/bnx2x/ |
| H A D | ecore_sp.c | 39 ECORE_MEMSET(o, 0, sizeof(*o)); in ecore_exe_queue_init() 214 rc = o->execute(sc, o->owner, &o->pending_comp, ramrod_flags); in ecore_exe_queue_step() 1110 o->get_credit(o))) in ecore_validate_vlan_mac_add() 1168 o->put_credit(o))) { in ecore_validate_vlan_mac_del() 2337 o->set_sched(o); in ecore_mcast_enqueue_cmd() 2730 o->set_registry_size(o, 0); in ecore_mcast_validate_e2() 2842 o->clear_sched(o); in ecore_mcast_setup_e2() 3092 rc = o->wait_comp(sc, o); in ecore_config_mcast() 3127 return o->raw.check_pending(&o->raw) || o->check_sched(o); in ecore_mcast_check_pending() 3732 o->state = o->next_state; in ecore_queue_comp_cmd() [all …]
|
| H A D | ecore_sp.h | 85 #define atomic_cmpset_acq_int(a, o, n) ((*a = (o & (n)) | (n)) ^ o) argument 91 #define atomic_cmpset_acq_long(a, o, n) ((*a = (o & (n)) | (n)) ^ o) argument 97 #define ECORE_ATOMIC_CMPXCHG(a, o, n) bnx2x_cmpxchg((volatile int *)a, o, n) argument 495 struct ecore_raw_obj *o); 578 union ecore_qable_obj *o, 582 union ecore_qable_obj *o, 589 union ecore_qable_obj *o, 592 union ecore_qable_obj *o, 747 struct ecore_vlan_mac_obj *o, 1514 struct ecore_queue_sp_obj *o, [all …]
|
| /dpdk/drivers/net/cxgbe/ |
| H A D | cxgbe_compat.h | 146 #define cpu_to_be16(o) rte_cpu_to_be_16(o) argument 147 #define cpu_to_be32(o) rte_cpu_to_be_32(o) argument 148 #define cpu_to_be64(o) rte_cpu_to_be_64(o) argument 149 #define cpu_to_le32(o) rte_cpu_to_le_32(o) argument 150 #define be16_to_cpu(o) rte_be_to_cpu_16(o) argument 151 #define be32_to_cpu(o) rte_be_to_cpu_32(o) argument 152 #define be64_to_cpu(o) rte_be_to_cpu_64(o) argument 156 #define ntohs(o) be16_to_cpu(o) argument 160 #define ntohl(o) be32_to_cpu(o) argument 164 #define htons(o) cpu_to_be16(o) argument [all …]
|
| /dpdk/examples/cmdline/ |
| H A D | parse_obj_list.c | 36 struct object *o; in parse_obj_list() local 48 SLIST_FOREACH(o, tkd->list, next) { in parse_obj_list() 51 if (strncmp(buf, o->name, token_len)) in parse_obj_list() 55 if (!o) /* not found */ in parse_obj_list() 60 *(struct object **)res = o; in parse_obj_list() 69 struct object *o; in complete_get_nb_obj_list() local 72 SLIST_FOREACH(o, tkd->list, next) { in complete_get_nb_obj_list() 83 struct object *o; in complete_get_elt_obj_list() local 87 SLIST_FOREACH(o, tkd->list, next) { in complete_get_elt_obj_list() 91 if (!o) in complete_get_elt_obj_list() [all …]
|
| H A D | commands.c | 124 struct object *o; in cmd_obj_add_parsed() local 127 SLIST_FOREACH(o, &global_obj_list, next) { in cmd_obj_add_parsed() 128 if (!strcmp(res->name, o->name)) { in cmd_obj_add_parsed() 135 o = malloc(sizeof(*o)); in cmd_obj_add_parsed() 136 if (!o) { in cmd_obj_add_parsed() 140 strlcpy(o->name, res->name, sizeof(o->name)); in cmd_obj_add_parsed() 141 o->ip = res->ip; in cmd_obj_add_parsed() 144 if (o->ip.family == AF_INET) in cmd_obj_add_parsed() 146 NIPQUAD(o->ip.addr.ipv4)); in cmd_obj_add_parsed() 149 NIP6(o->ip.addr.ipv6)); in cmd_obj_add_parsed() [all …]
|
| /dpdk/drivers/raw/ifpga/base/osdep_rte/ |
| H A D | osdep_generic.h | 47 #define cpu_to_be16(o) rte_cpu_to_be_16(o) argument 48 #define cpu_to_be32(o) rte_cpu_to_be_32(o) argument 49 #define cpu_to_be64(o) rte_cpu_to_be_64(o) argument 50 #define cpu_to_le16(o) rte_cpu_to_le_16(o) argument 51 #define cpu_to_le32(o) rte_cpu_to_le_32(o) argument 52 #define cpu_to_le64(o) rte_cpu_to_le_64(o) argument
|
| /dpdk/drivers/net/hinic/base/ |
| H A D | hinic_compat.h | 102 #define cpu_to_be16(o) rte_cpu_to_be_16(o) argument 103 #define cpu_to_be32(o) rte_cpu_to_be_32(o) argument 104 #define cpu_to_be64(o) rte_cpu_to_be_64(o) argument 105 #define cpu_to_le32(o) rte_cpu_to_le_32(o) argument 106 #define be16_to_cpu(o) rte_be_to_cpu_16(o) argument 107 #define be32_to_cpu(o) rte_be_to_cpu_32(o) argument 108 #define be64_to_cpu(o) rte_be_to_cpu_64(o) argument 109 #define le32_to_cpu(o) rte_le_to_cpu_32(o) argument
|
| /dpdk/drivers/common/iavf/ |
| H A D | iavf_osdep.h | 73 #define CPU_TO_LE16(o) rte_cpu_to_le_16(o) argument 80 #define CPU_TO_BE16(o) rte_cpu_to_be_16(o) argument 81 #define CPU_TO_BE32(o) rte_cpu_to_be_32(o) argument 82 #define CPU_TO_BE64(o) rte_cpu_to_be_64(o) argument
|
| /dpdk/drivers/bus/dpaa/base/qbman/ |
| H A D | bman.h | 39 #define __bm_in(bm, o) be32_to_cpu(__raw_readl((bm)->ci + (o))) argument 40 #define __bm_out(bm, o, val) __raw_writel(cpu_to_be32(val), \ argument 41 (bm)->ci + (o)) 46 #define __bm_cl_touch_ro(bm, o) dcbt_ro((bm)->ce + (o)) argument 47 #define __bm_cl_touch_rw(bm, o) dcbt_rw((bm)->ce + (o)) argument 48 #define __bm_cl_in(bm, o) be32_to_cpu(__raw_readl((bm)->ce + (o))) argument 49 #define __bm_cl_out(bm, o, val) \ argument 51 u32 *__tmpclout = (bm)->ce + (o); \ 55 #define __bm_cl_invalidate(bm, o) dccivac((bm)->ce + (o)) argument
|
| H A D | qman.h | 54 #define __qm_in(qm, o) be32_to_cpu(__raw_readl((qm)->ci + (o))) argument 55 #define __qm_out(qm, o, val) __raw_writel((cpu_to_be32(val)), \ argument 56 (qm)->ci + (o)) 61 #define __qm_cl_touch_ro(qm, o) dcbt_ro((qm)->ce + (o)) argument 62 #define __qm_cl_touch_rw(qm, o) dcbt_rw((qm)->ce + (o)) argument 63 #define __qm_cl_in(qm, o) be32_to_cpu(__raw_readl((qm)->ce + (o))) argument 64 #define __qm_cl_out(qm, o, val) \ argument 66 u32 *__tmpclout = (qm)->ce + (o); \ 70 #define __qm_cl_invalidate(qm, o) dccivac((qm)->ce + (o)) argument
|
| /dpdk/drivers/net/softnic/ |
| H A D | parser.c | 356 unsigned long o[RTE_ETHER_ADDR_LEN]; in my_ether_aton() local 362 o[i] = strtoul(a, &end, 16); in my_ether_aton() 366 } while (++i != sizeof(o) / sizeof(o[0]) && end[0] != 0); in my_ether_aton() 375 if (o[i] > UINT8_MAX) in my_ether_aton() 377 ether_addr.addr_bytes[i] = (uint8_t)o[i]; in my_ether_aton() 382 if (o[i] > UINT16_MAX) in my_ether_aton() 384 ether_addr.addr_bytes[i * 2] = (uint8_t)(o[i] >> 8); in my_ether_aton() 385 ether_addr.addr_bytes[i * 2 + 1] = (uint8_t)(o[i] & 0xff); in my_ether_aton()
|
| /dpdk/examples/ip_pipeline/ |
| H A D | parser.c | 339 unsigned long o[RTE_ETHER_ADDR_LEN]; in my_ether_aton() local 345 o[i] = strtoul(a, &end, 16); in my_ether_aton() 349 } while (++i != RTE_DIM(o) && end[0] != 0); in my_ether_aton() 358 if (o[i] > UINT8_MAX) in my_ether_aton() 360 ether_addr.addr_bytes[i] = (uint8_t)o[i]; in my_ether_aton() 365 if (o[i] > UINT16_MAX) in my_ether_aton() 367 ether_addr.addr_bytes[i * 2] = (uint8_t)(o[i] >> 8); in my_ether_aton() 368 ether_addr.addr_bytes[i * 2 + 1] = (uint8_t)(o[i] & 0xff); in my_ether_aton()
|
| H A D | Makefile | 52 OBJS := $(patsubst %.c,build/%.o,$(SRCS-y)) 54 build/%.o: %.c Makefile $(PC_FILE) | build 68 rm -f build/$(APP)* build/*.o
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_osdep.h | 79 #define CPU_TO_LE16(o) rte_cpu_to_le_16(o) argument 86 #define CPU_TO_BE16(o) rte_cpu_to_be_16(o) argument 87 #define CPU_TO_BE32(o) rte_cpu_to_be_32(o) argument 88 #define CPU_TO_BE64(o) rte_cpu_to_be_64(o) argument 89 #define BE16_TO_CPU(o) rte_be_to_cpu_16(o) argument
|
| /dpdk/examples/pipeline/ |
| H A D | Makefile | 43 OBJS := $(patsubst %.c,build/%.o,$(SRCS-y)) 45 build/%.o: %.c Makefile $(PC_FILE) | build 59 rm -f build/$(APP)* build/*.o
|
| /dpdk/kernel/linux/kni/ |
| H A D | Kbuild | 5 obj-m := rte_kni.o 6 rte_kni-y := $(patsubst $(src)/%.c,%.o,$(wildcard $(src)/*.c))
|
| /dpdk/drivers/net/ark/ |
| H A D | ark_pktchkr.c | 335 struct OPTIONS *o = options(arg); in set_arg() local 337 if (o) { in set_arg() 338 switch (o->t) { in set_arg() 341 o->v.INT = atoi(val); in set_arg() 344 o->v.INT = atoll(val); in set_arg() 347 strlcpy(o->v.STR, val, ARK_MAX_STR_LEN); in set_arg()
|
| H A D | ark_pktgen.c | 316 struct OPTIONS *o = options(arg); in pmd_set_arg() local 318 if (o) { in pmd_set_arg() 319 switch (o->t) { in pmd_set_arg() 322 o->v.INT = atoi(val); in pmd_set_arg() 325 o->v.INT = atoll(val); in pmd_set_arg() 328 strlcpy(o->v.STR, val, ARK_MAX_STR_LEN); in pmd_set_arg()
|
| /dpdk/drivers/net/i40e/base/ |
| H A D | i40e_osdep.h | 199 #define CPU_TO_LE16(o) rte_cpu_to_le_16(o) argument 206 #define cpu_to_le16(o) rte_cpu_to_le_16(o) argument
|
| /dpdk/examples/ethtool/lib/ |
| H A D | Makefile | 48 $(CC) $(CFLAGS) -c $(SRCS) -o build/$(SRCS).o 49 $(AR) -cr $@ build/*.o
|
| /dpdk/drivers/crypto/qat/ |
| H A D | qat_asym.h | 42 #define QAT_ASYM_CAP(n, o, l, r, i) \ argument 48 .op_types = o, \
|
| /dpdk/lib/mbuf/ |
| H A D | rte_mbuf_core.h | 825 #define rte_pktmbuf_mtod_offset(m, t, o) \ argument 826 ((t)(void *)((char *)(m)->buf_addr + (m)->data_off + (o))) 851 #define rte_pktmbuf_iova_offset(m, o) \ argument 852 (rte_iova_t)((m)->buf_iova + (m)->data_off + (o))
|
| /dpdk/lib/net/ |
| H A D | rte_l2tpv2.h | 108 uint16_t o:1; /**< offset option bit */ member 120 uint16_t o:1; /**< offset option bit */
|
| /dpdk/examples/vm_power_manager/ |
| H A D | channel_monitor.c | 69 unsigned long o[RTE_ETHER_ADDR_LEN]; in str_to_ether_addr() local 74 o[i] = strtoul(a, &end, 16); in str_to_ether_addr() 78 } while (++i != RTE_DIM(o) / sizeof(o[0]) && end[0] != 0); in str_to_ether_addr() 87 if (o[i] > UINT8_MAX) in str_to_ether_addr() 89 ether_addr->addr_bytes[i] = (uint8_t)o[i]; in str_to_ether_addr() 94 if (o[i] > UINT16_MAX) in str_to_ether_addr() 97 (uint8_t)(o[i] >> 8); in str_to_ether_addr() 99 (uint8_t)(o[i] & 0xff); in str_to_ether_addr()
|
| /dpdk/lib/eal/arm/include/ |
| H A D | rte_vect.h | 63 uint64x1_t o = vget_low_u64(n) + vget_high_u64(n); in vaddvq_u16() local 65 return vget_lane_u32((uint32x2_t)o, 0); in vaddvq_u16()
|