Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/
Dhinic_port.c684 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 …]
Dhinic_ethtool.c925 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 …]
Dhinic_main.c332 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()
Dhinic_dev.h102 struct hinic_rss_type rss_type; member
Dhinic_port.h794 struct hinic_rss_type rss_type);
814 struct hinic_rss_type *rss_type);
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dcq_enet_desc.h95 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()
Dfnic_fcs.c838 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/
Dcq_enet_desc.h106 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()
Denic_main.c1308 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/
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()
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c402 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/
Dhnae3.h685 enum pkt_hash_types rss_type; member
Dhns3_enet.c3066 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/
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()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1424 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/
Digc_main.c1600 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/
Dhclge_main.c4314 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()