Home
last modified time | relevance | path

Searched refs:rss_type (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c699 struct hinic_rss_type rss_type) in hinic_set_rss_type() argument
723 HINIC_RSS_TYPE_SET(rss_type.ipv4, IPV4) | in hinic_set_rss_type()
724 HINIC_RSS_TYPE_SET(rss_type.ipv6, IPV6) | in hinic_set_rss_type()
725 HINIC_RSS_TYPE_SET(rss_type.ipv6_ext, IPV6_EXT) | in hinic_set_rss_type()
726 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv4, TCP_IPV4) | in hinic_set_rss_type()
727 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6, TCP_IPV6) | in hinic_set_rss_type()
728 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6_ext, TCP_IPV6_EXT) | in hinic_set_rss_type()
729 HINIC_RSS_TYPE_SET(rss_type.udp_ipv4, UDP_IPV4) | in hinic_set_rss_type()
730 HINIC_RSS_TYPE_SET(rss_type.udp_ipv6, UDP_IPV6); in hinic_set_rss_type()
759 struct hinic_rss_type *rss_type) in hinic_get_rss_type() argument
[all …]
H A Dhinic_ethtool.c934 &rss_type); in hinic_get_rss_hash_opts()
941 if (rss_type.tcp_ipv4) in hinic_get_rss_hash_opts()
945 if (rss_type.tcp_ipv6) in hinic_get_rss_hash_opts()
949 if (rss_type.udp_ipv4) in hinic_get_rss_hash_opts()
953 if (rss_type.udp_ipv6) in hinic_get_rss_hash_opts()
985 rss_type->tcp_ipv4 = rss_l4_en; in set_l4_rss_hash_ops()
988 rss_type->tcp_ipv6 = rss_l4_en; in set_l4_rss_hash_ops()
1006 struct hinic_rss_type *rss_type = &nic_dev->rss_type; in hinic_set_rss_hash_opts() local
1040 rss_type->ipv4 = 1; in hinic_set_rss_hash_opts()
1043 rss_type->ipv6 = 1; in hinic_set_rss_hash_opts()
[all …]
H A Dhinic_main.c325 err = hinic_set_rss_type(nic_dev, tmpl_idx, nic_dev->rss_type); in hinic_rss_init()
351 nic_dev->rss_type.tcp_ipv6_ext = 1; in hinic_init_rss_parameters()
352 nic_dev->rss_type.ipv6_ext = 1; in hinic_init_rss_parameters()
353 nic_dev->rss_type.tcp_ipv6 = 1; in hinic_init_rss_parameters()
354 nic_dev->rss_type.ipv6 = 1; in hinic_init_rss_parameters()
355 nic_dev->rss_type.tcp_ipv4 = 1; in hinic_init_rss_parameters()
356 nic_dev->rss_type.ipv4 = 1; in hinic_init_rss_parameters()
357 nic_dev->rss_type.udp_ipv6 = 1; in hinic_init_rss_parameters()
358 nic_dev->rss_type.udp_ipv4 = 1; in hinic_init_rss_parameters()
H A Dhinic_dev.h106 struct hinic_rss_type rss_type; member
H A Dhinic_port.h805 struct hinic_rss_type rss_type);
825 struct hinic_rss_type *rss_type);
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dxdp_metadata2.c9 enum xdp_rss_hash_type *rss_type) __ksym;
H A Dxdp_metadata.c25 enum xdp_rss_hash_type *rss_type) __ksym;
H A Dxdp_hw_metadata.c22 enum xdp_rss_hash_type *rss_type) __ksym;
/openbmc/linux/drivers/scsi/fnic/
H A Dcq_enet_desc.h83 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument
107 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec()
H A Dfnic_fcs.c828 u8 ipv6, ipv4, ipv4_fragment, rss_type, csum_not_calc; in fnic_rq_cmpl_frame_recv() local
861 &rss_type, &csum_not_calc, &rss_hash, in fnic_rq_cmpl_frame_recv()
/openbmc/linux/drivers/net/ethernet/cisco/enic/
H A Dcq_enet_desc.h93 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument
121 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec()
H A Denic_main.c1320 u8 ipv6, ipv4, ipv4_fragment, fcs_ok, rss_type, csum_not_calc; in enic_rq_indicate_buf() local
1333 &ingress_port, &fcoe, &eop, &sop, &rss_type, in enic_rq_indicate_buf()
1375 switch (rss_type) { in enic_rq_indicate_buf()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_a0.c698 u16 rss_type = rxd_wb->type & 0xFU; in hw_atl_a0_hw_ring_rx_receive() local
700 if (rss_type && rss_type < 0x8U) { in hw_atl_a0_hw_ring_rx_receive()
701 buff->is_hash_l4 = (rss_type == 0x4 || in hw_atl_a0_hw_ring_rx_receive()
702 rss_type == 0x5); in hw_atl_a0_hw_ring_rx_receive()
H A Dhw_atl_b0.c966 u16 rss_type = rxd_wb->type & 0xFU; in hw_atl_b0_hw_ring_rx_receive() local
968 if (rss_type && rss_type < 0x8U) { in hw_atl_b0_hw_ring_rx_receive()
969 buff->is_hash_l4 = (rss_type == 0x4 || in hw_atl_b0_hw_ring_rx_receive()
970 rss_type == 0x5); in hw_atl_b0_hw_ring_rx_receive()
/openbmc/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_main.c397 u16 rss_type; in fm10k_rx_hash() local
402 rss_type = le16_to_cpu(rx_desc->w.pkt_info) & FM10K_RXD_RSSTYPE_MASK; in fm10k_rx_hash()
403 if (!rss_type) in fm10k_rx_hash()
407 (BIT(rss_type) & FM10K_RSS_L4_TYPES_MASK) ? in fm10k_rx_hash()
/openbmc/linux/include/net/
H A Dxdp.h448 enum xdp_rss_hash_type *rss_type);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c238 enum xdp_rss_hash_type *rss_type) in mlx5e_xdp_rx_hash() argument
254 *rss_type = mlx5_xdp_rss_type[lookup]; in mlx5e_xdp_rx_hash()
/openbmc/linux/drivers/net/ethernet/wangxun/libwx/
H A Dwx_lib.c502 u16 rss_type; in wx_rx_hash() local
507 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in wx_rx_hash()
510 if (!rss_type) in wx_rx_hash()
514 (WX_RSS_L4_TYPES_MASK & (1ul << rss_type)) ? in wx_rx_hash()
/openbmc/linux/net/core/
H A Dxdp.c732 enum xdp_rss_hash_type *rss_type) in bpf_xdp_metadata_rx_hash() argument
/openbmc/linux/drivers/net/ethernet/mellanox/mlx4/
H A Den_rx.c685 enum xdp_rss_hash_type *rss_type) in mlx4_en_xdp_rx_hash() argument
708 *rss_type = xht; in mlx4_en_xdp_rx_hash()
H A Dmlx4_en.h804 enum xdp_rss_hash_type *rss_type);
/openbmc/linux/drivers/net/ethernet/intel/ixgbevf/
H A Dixgbevf_main.c445 u16 rss_type; in ixgbevf_rx_hash() local
450 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in ixgbevf_rx_hash()
453 if (!rss_type) in ixgbevf_rx_hash()
457 (IXGBE_RSS_L4_TYPES_MASK & (1ul << rss_type)) ? in ixgbevf_rx_hash()
/openbmc/linux/drivers/net/
H A Dveth.c1687 enum xdp_rss_hash_type *rss_type) in veth_xdp_rx_hash() argument
1696 *rss_type = skb->l4_hash ? XDP_RSS_TYPE_L4_ANY : XDP_RSS_TYPE_NONE; in veth_xdp_rx_hash()
/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/
H A Dhns3_enet.c4195 enum pkt_hash_types rss_type = PKT_HASH_TYPE_NONE; in hns3_set_rx_skb_rss_type() local
4203 rss_type = hns3_rx_ptype_tbl[ptype].hash_type; in hns3_set_rx_skb_rss_type()
4215 rss_type = PKT_HASH_TYPE_L4; in hns3_set_rx_skb_rss_type()
4218 rss_type = PKT_HASH_TYPE_L3; in hns3_set_rx_skb_rss_type()
4222 skb_set_hash(skb, rss_hash, rss_type); in hns3_set_rx_skb_rss_type()
/openbmc/qemu/hw/net/
H A Digb_core.c1501 uint16_t rss_type = 0, pkt_type; in igb_write_adv_rx_descr() local
1520 rss_type = rss_info->type; in igb_write_adv_rx_descr()
1521 trace_igb_rx_metadata_rss(desc->wb.lower.hi_dword.rss, rss_type); in igb_write_adv_rx_descr()
1537 desc->wb.lower.lo_dword.pkt_info = cpu_to_le16(rss_type | (pkt_type << 4)); in igb_write_adv_rx_descr()

12