Home
last modified time | relevance | path

Searched refs:req3 (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/tools/testing/selftests/net/
H A Dtoeplitz.c259 struct tpacket_req3 req3 = {0}; in setup_ring() local
262 req3.tp_retire_blk_tov = cfg_timeout_msec / 8; in setup_ring()
265 req3.tp_frame_size = 2048; in setup_ring()
266 req3.tp_frame_nr = 1 << 10; in setup_ring()
267 req3.tp_block_nr = 16; in setup_ring()
269 req3.tp_block_size = req3.tp_frame_size * req3.tp_frame_nr; in setup_ring()
270 req3.tp_block_size /= req3.tp_block_nr; in setup_ring()
272 if (setsockopt(fd, SOL_PACKET, PACKET_RX_RING, &req3, sizeof(req3))) in setup_ring()
275 ring_block_sz = req3.tp_block_size; in setup_ring()
276 ring_block_nr = req3.tp_block_nr; in setup_ring()
[all …]
H A Dpsock_tpacket.c75 struct tpacket_req3 req3; member
390 nframes = ring->req3.tp_frame_nr; in walk_tx()
649 ring->req3.tp_retire_blk_tov = 64; in __v3_fill()
650 ring->req3.tp_sizeof_priv = 0; in __v3_fill()
655 ring->req3.tp_block_nr = blocks; in __v3_fill()
657 ring->req3.tp_frame_nr = ring->req3.tp_block_size / in __v3_fill()
658 ring->req3.tp_frame_size * in __v3_fill()
659 ring->req3.tp_block_nr; in __v3_fill()
661 ring->mm_len = ring->req3.tp_block_size * ring->req3.tp_block_nr; in __v3_fill()
663 ring->rd_num = ring->req3.tp_block_nr; in __v3_fill()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A Dmarvell,orion-pinctrl.txt26 mpp2 2 gpio, pci(req3), pci-1(pme)
51 mpp2 2 gpio, pci(req3), pci-1(pme)
76 mpp2 2 gpio, pci(req3), pci(pme)
H A Dlantiq,pinctrl-xway.txt59 req1, req2, req3, dfe led0, dfe led1
70 clkout2, clkout3, gnt1, gnt2, gnt3, gnt4, req1, req2, req3, req4, mdio,
85 gnt2, gnt3, gnt4, req1, req2, req3, req4, mdio, dfe led0, dfe led1,
/openbmc/linux/include/uapi/linux/
H A Dif_packet.h293 struct tpacket_req3 req3; member
/openbmc/linux/net/packet/
H A Daf_packet.c682 p1->kblk_size = req_u->req3.tp_block_size; in init_prb_bdqc()
683 p1->knum_blocks = req_u->req3.tp_block_nr; in init_prb_bdqc()
688 if (req_u->req3.tp_retire_blk_tov) in init_prb_bdqc()
692 req_u->req3.tp_block_size); in init_prb_bdqc()
3904 if (optlen < sizeof(req_u.req3)) in packet_setsockopt()
3906 ret = copy_from_sockptr(&req_u.req3, optval, in packet_setsockopt()
3907 sizeof(req_u.req3)) ? in packet_setsockopt()
4552 struct tpacket_req3 *req3 = &req_u->req3; in packet_set_ring() local
4554 if (req3->tp_retire_blk_tov || in packet_set_ring()
4555 req3->tp_sizeof_priv || in packet_set_ring()
[all …]
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dcnic.c1692 struct iscsi_kwqe_conn_offload3 *req3; in cnic_setup_bnx2x_ctx() local
1712 req3 = (struct iscsi_kwqe_conn_offload3 *) wqes[n++]; in cnic_setup_bnx2x_ctx()
1814 req3->qp_first_pte[j].hi; in cnic_setup_bnx2x_ctx()
1816 req3->qp_first_pte[j].lo; in cnic_setup_bnx2x_ctx()
2287 struct fcoe_kwqe_init3 *req3; in cnic_bnx2x_fcoe_init1() local
2296 req3 = (struct fcoe_kwqe_init3 *) wqes[2]; in cnic_bnx2x_fcoe_init1()
2301 if (req3->hdr.op_code != FCOE_KWQE_OPCODE_INIT3) { in cnic_bnx2x_fcoe_init1()
2317 memcpy(&fcoe_init->init_kwqe3, req3, sizeof(*req3)); in cnic_bnx2x_fcoe_init1()
2343 struct fcoe_kwqe_conn_offload3 *req3; in cnic_bnx2x_fcoe_ofld1() local
2359 req3 = (struct fcoe_kwqe_conn_offload3 *) wqes[2]; in cnic_bnx2x_fcoe_ofld1()
[all …]
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_debugfs.c1518 struct hclge_fd_tcam_config_3_cmd *req3; in hclge_dbg_fd_tcam_read() local
1532 req3 = (struct hclge_fd_tcam_config_3_cmd *)desc[2].data; in hclge_dbg_fd_tcam_read()
1559 req = (__le32 *)req3->tcam_data; in hclge_dbg_fd_tcam_read()
H A Dhclge_main.c5547 struct hclge_fd_tcam_config_3_cmd *req3; in hclge_fd_tcam_config() local
5559 req3 = (struct hclge_fd_tcam_config_3_cmd *)desc[2].data; in hclge_fd_tcam_config()
5571 memcpy(req3->tcam_data, &key[sizeof(req1->tcam_data) + in hclge_fd_tcam_config()
5572 sizeof(req2->tcam_data)], sizeof(req3->tcam_data)); in hclge_fd_tcam_config()