Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/huawei/hinic/
Dhinic_ethtool.c163 struct hinic_rss_type rss_type = { 0 }; in hinic_get_rss_hash_opts() local
172 &rss_type); in hinic_get_rss_hash_opts()
179 if (rss_type.tcp_ipv4) in hinic_get_rss_hash_opts()
183 if (rss_type.tcp_ipv6) in hinic_get_rss_hash_opts()
187 if (rss_type.udp_ipv4) in hinic_get_rss_hash_opts()
191 if (rss_type.udp_ipv6) in hinic_get_rss_hash_opts()
206 struct hinic_rss_type *rss_type) in set_l4_rss_hash_ops() argument
223 rss_type->tcp_ipv4 = rss_l4_en; in set_l4_rss_hash_ops()
226 rss_type->tcp_ipv6 = rss_l4_en; in set_l4_rss_hash_ops()
229 rss_type->udp_ipv4 = rss_l4_en; in set_l4_rss_hash_ops()
[all …]
Dhinic_port.c680 struct hinic_rss_type rss_type) in hinic_set_rss_type() argument
704 HINIC_RSS_TYPE_SET(rss_type.ipv4, IPV4) | in hinic_set_rss_type()
705 HINIC_RSS_TYPE_SET(rss_type.ipv6, IPV6) | in hinic_set_rss_type()
706 HINIC_RSS_TYPE_SET(rss_type.ipv6_ext, IPV6_EXT) | in hinic_set_rss_type()
707 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv4, TCP_IPV4) | in hinic_set_rss_type()
708 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6, TCP_IPV6) | in hinic_set_rss_type()
709 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6_ext, TCP_IPV6_EXT) | in hinic_set_rss_type()
710 HINIC_RSS_TYPE_SET(rss_type.udp_ipv4, UDP_IPV4) | in hinic_set_rss_type()
711 HINIC_RSS_TYPE_SET(rss_type.udp_ipv6, UDP_IPV6); in hinic_set_rss_type()
740 struct hinic_rss_type *rss_type) in hinic_get_rss_type() argument
[all …]
Dhinic_main.c280 err = hinic_set_rss_type(nic_dev, tmpl_idx, nic_dev->rss_type); in hinic_rss_init()
306 nic_dev->rss_type.tcp_ipv6_ext = 1; in hinic_init_rss_parameters()
307 nic_dev->rss_type.ipv6_ext = 1; in hinic_init_rss_parameters()
308 nic_dev->rss_type.tcp_ipv6 = 1; in hinic_init_rss_parameters()
309 nic_dev->rss_type.ipv6 = 1; in hinic_init_rss_parameters()
310 nic_dev->rss_type.tcp_ipv4 = 1; in hinic_init_rss_parameters()
311 nic_dev->rss_type.ipv4 = 1; in hinic_init_rss_parameters()
312 nic_dev->rss_type.udp_ipv6 = 1; in hinic_init_rss_parameters()
313 nic_dev->rss_type.udp_ipv4 = 1; in hinic_init_rss_parameters()
Dhinic_dev.h78 struct hinic_rss_type rss_type; member
Dhinic_port.h547 struct hinic_rss_type rss_type);
567 struct hinic_rss_type *rss_type);
/Linux-v5.4/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.c845 u8 ipv6, ipv4, ipv4_fragment, rss_type, csum_not_calc; in fnic_rq_cmpl_frame_recv() local
879 &rss_type, &csum_not_calc, &rss_hash, in fnic_rq_cmpl_frame_recv()
/Linux-v5.4/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.c1340 u8 ipv6, ipv4, ipv4_fragment, fcs_ok, rss_type, csum_not_calc; in enic_rq_indicate_buf() local
1353 &ingress_port, &fcoe, &eop, &sop, &rss_type, in enic_rq_indicate_buf()
1395 switch (rss_type) { in enic_rq_indicate_buf()
/Linux-v5.4/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_a0.c691 u16 rss_type = rxd_wb->type & 0xFU; in hw_atl_a0_hw_ring_rx_receive() local
693 if (rss_type && rss_type < 0x8U) { in hw_atl_a0_hw_ring_rx_receive()
694 buff->is_hash_l4 = (rss_type == 0x4 || in hw_atl_a0_hw_ring_rx_receive()
695 rss_type == 0x5); in hw_atl_a0_hw_ring_rx_receive()
Dhw_atl_b0.c745 u16 rss_type = rxd_wb->type & 0xFU; in hw_atl_b0_hw_ring_rx_receive() local
747 if (rss_type && rss_type < 0x8U) { in hw_atl_b0_hw_ring_rx_receive()
748 buff->is_hash_l4 = (rss_type == 0x4 || in hw_atl_b0_hw_ring_rx_receive()
749 rss_type == 0x5); in hw_atl_b0_hw_ring_rx_receive()
/Linux-v5.4/drivers/net/ethernet/intel/fm10k/
Dfm10k_main.c400 u16 rss_type; in fm10k_rx_hash() local
405 rss_type = le16_to_cpu(rx_desc->w.pkt_info) & FM10K_RXD_RSSTYPE_MASK; in fm10k_rx_hash()
406 if (!rss_type) in fm10k_rx_hash()
410 (BIT(rss_type) & FM10K_RSS_L4_TYPES_MASK) ? in fm10k_rx_hash()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/
Dhnae3.h585 enum pkt_hash_types rss_type; member
Dhns3_enet.c2774 enum pkt_hash_types rss_type; in hns3_set_rx_skb_rss_type() local
2777 rss_type = handle->kinfo.rss_type; in hns3_set_rx_skb_rss_type()
2779 rss_type = PKT_HASH_TYPE_NONE; in hns3_set_rx_skb_rss_type()
2781 skb_set_hash(skb, rss_hash, rss_type); in hns3_set_rx_skb_rss_type()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c447 u16 rss_type; in ixgbevf_rx_hash() local
452 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in ixgbevf_rx_hash()
455 if (!rss_type) in ixgbevf_rx_hash()
459 (IXGBE_RSS_L4_TYPES_MASK & (1ul << rss_type)) ? in ixgbevf_rx_hash()
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c1426 u16 rss_type; in ixgbe_rx_hash() local
1431 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in ixgbe_rx_hash()
1434 if (!rss_type) in ixgbe_rx_hash()
1438 (IXGBE_RSS_L4_TYPES_MASK & (1ul << rss_type)) ? in ixgbe_rx_hash()
/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_main.c4115 vport->nic.kinfo.rss_type = PKT_HASH_TYPE_L4; in hclge_get_rss_type()
4118 vport->nic.kinfo.rss_type = PKT_HASH_TYPE_L3; in hclge_get_rss_type()
4120 vport->nic.kinfo.rss_type = PKT_HASH_TYPE_NONE; in hclge_get_rss_type()