/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
D | hinic_port.c | 684 struct hinic_rss_type rss_type) in hinic_set_rss_type() argument 708 HINIC_RSS_TYPE_SET(rss_type.ipv4, IPV4) | in hinic_set_rss_type() 709 HINIC_RSS_TYPE_SET(rss_type.ipv6, IPV6) | in hinic_set_rss_type() 710 HINIC_RSS_TYPE_SET(rss_type.ipv6_ext, IPV6_EXT) | in hinic_set_rss_type() 711 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv4, TCP_IPV4) | in hinic_set_rss_type() 712 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6, TCP_IPV6) | in hinic_set_rss_type() 713 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6_ext, TCP_IPV6_EXT) | in hinic_set_rss_type() 714 HINIC_RSS_TYPE_SET(rss_type.udp_ipv4, UDP_IPV4) | in hinic_set_rss_type() 715 HINIC_RSS_TYPE_SET(rss_type.udp_ipv6, UDP_IPV6); in hinic_set_rss_type() 744 struct hinic_rss_type *rss_type) in hinic_get_rss_type() argument [all …]
|
D | hinic_ethtool.c | 925 struct hinic_rss_type rss_type = { 0 }; in hinic_get_rss_hash_opts() local 934 &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() 968 struct hinic_rss_type *rss_type) in set_l4_rss_hash_ops() argument 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() 991 rss_type->udp_ipv4 = rss_l4_en; in set_l4_rss_hash_ops() [all …]
|
D | hinic_main.c | 332 err = hinic_set_rss_type(nic_dev, tmpl_idx, nic_dev->rss_type); in hinic_rss_init() 358 nic_dev->rss_type.tcp_ipv6_ext = 1; in hinic_init_rss_parameters() 359 nic_dev->rss_type.ipv6_ext = 1; in hinic_init_rss_parameters() 360 nic_dev->rss_type.tcp_ipv6 = 1; in hinic_init_rss_parameters() 361 nic_dev->rss_type.ipv6 = 1; in hinic_init_rss_parameters() 362 nic_dev->rss_type.tcp_ipv4 = 1; in hinic_init_rss_parameters() 363 nic_dev->rss_type.ipv4 = 1; in hinic_init_rss_parameters() 364 nic_dev->rss_type.udp_ipv6 = 1; in hinic_init_rss_parameters() 365 nic_dev->rss_type.udp_ipv4 = 1; in hinic_init_rss_parameters()
|
D | hinic_dev.h | 102 struct hinic_rss_type rss_type; member
|
D | hinic_port.h | 794 struct hinic_rss_type rss_type); 814 struct hinic_rss_type *rss_type);
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
D | cq_enet_desc.h | 95 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument 119 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec()
|
D | fnic_fcs.c | 838 u8 ipv6, ipv4, ipv4_fragment, rss_type, csum_not_calc; in fnic_rq_cmpl_frame_recv() local 871 &rss_type, &csum_not_calc, &rss_hash, in fnic_rq_cmpl_frame_recv()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
D | cq_enet_desc.h | 106 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument 134 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec()
|
D | enic_main.c | 1308 u8 ipv6, ipv4, ipv4_fragment, fcs_ok, rss_type, csum_not_calc; in enic_rq_indicate_buf() local 1321 &ingress_port, &fcoe, &eop, &sop, &rss_type, in enic_rq_indicate_buf() 1363 switch (rss_type) { in enic_rq_indicate_buf()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
D | hw_atl_a0.c | 698 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()
|
D | hw_atl_b0.c | 966 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 402 u16 rss_type; in fm10k_rx_hash() local 407 rss_type = le16_to_cpu(rx_desc->w.pkt_info) & FM10K_RXD_RSSTYPE_MASK; in fm10k_rx_hash() 408 if (!rss_type) in fm10k_rx_hash() 412 (BIT(rss_type) & FM10K_RSS_L4_TYPES_MASK) ? in fm10k_rx_hash()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/ |
D | hnae3.h | 685 enum pkt_hash_types rss_type; member
|
D | hns3_enet.c | 3066 enum pkt_hash_types rss_type; in hns3_set_rx_skb_rss_type() local 3069 rss_type = handle->kinfo.rss_type; in hns3_set_rx_skb_rss_type() 3071 rss_type = PKT_HASH_TYPE_NONE; in hns3_set_rx_skb_rss_type() 3073 skb_set_hash(skb, rss_hash, rss_type); in hns3_set_rx_skb_rss_type()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 445 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 1424 u16 rss_type; in ixgbe_rx_hash() local 1429 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in ixgbe_rx_hash() 1432 if (!rss_type) in ixgbe_rx_hash() 1436 (IXGBE_RSS_L4_TYPES_MASK & (1ul << rss_type)) ? in ixgbe_rx_hash()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/igc/ |
D | igc_main.c | 1600 u32 rss_type = igc_rss_type(rx_desc); in igc_rx_hash() local 1602 skb_set_hash(skb, rss_hash, igc_rss_type_table[rss_type]); in igc_rx_hash()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_main.c | 4314 vport->nic.kinfo.rss_type = PKT_HASH_TYPE_L4; in hclge_get_rss_type() 4317 vport->nic.kinfo.rss_type = PKT_HASH_TYPE_L3; in hclge_get_rss_type() 4319 vport->nic.kinfo.rss_type = PKT_HASH_TYPE_NONE; in hclge_get_rss_type()
|