| /drivers/net/ethernet/huawei/hinic/ |
| A D | hinic_port.c | 699 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 …]
|
| A D | hinic_ethtool.c | 935 &rss_type); in hinic_get_rxfh_fields() 942 if (rss_type.tcp_ipv4) in hinic_get_rxfh_fields() 946 if (rss_type.tcp_ipv6) in hinic_get_rxfh_fields() 950 if (rss_type.udp_ipv4) in hinic_get_rxfh_fields() 954 if (rss_type.udp_ipv6) in hinic_get_rxfh_fields() 986 rss_type->tcp_ipv4 = rss_l4_en; in set_l4_rss_hash_ops() 989 rss_type->tcp_ipv6 = rss_l4_en; in set_l4_rss_hash_ops() 1012 rss_type = &nic_dev->rss_type; in hinic_set_rxfh_fields() 1043 rss_type->ipv4 = 1; in hinic_set_rxfh_fields() 1046 rss_type->ipv6 = 1; in hinic_set_rxfh_fields() [all …]
|
| A D | hinic_main.c | 327 err = hinic_set_rss_type(nic_dev, tmpl_idx, nic_dev->rss_type); in hinic_rss_init() 353 nic_dev->rss_type.tcp_ipv6_ext = 1; in hinic_init_rss_parameters() 354 nic_dev->rss_type.ipv6_ext = 1; in hinic_init_rss_parameters() 355 nic_dev->rss_type.tcp_ipv6 = 1; in hinic_init_rss_parameters() 356 nic_dev->rss_type.ipv6 = 1; in hinic_init_rss_parameters() 357 nic_dev->rss_type.tcp_ipv4 = 1; in hinic_init_rss_parameters() 358 nic_dev->rss_type.ipv4 = 1; in hinic_init_rss_parameters() 359 nic_dev->rss_type.udp_ipv6 = 1; in hinic_init_rss_parameters() 360 nic_dev->rss_type.udp_ipv4 = 1; in hinic_init_rss_parameters()
|
| A D | hinic_dev.h | 106 struct hinic_rss_type rss_type; member
|
| A D | hinic_port.h | 805 struct hinic_rss_type rss_type); 825 struct hinic_rss_type *rss_type);
|
| /drivers/net/ethernet/cisco/enic/ |
| A D | enic_rq.c | 99 u8 rss_type, u8 fcoe, u8 fcoe_fc_crc_ok, in enic_rq_set_skb_flags() argument 110 switch (rss_type) { in enic_rq_set_skb_flags() 173 u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() argument 201 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec() 328 u8 ipv6, ipv4, ipv4_fragment, fcs_ok, rss_type, csum_not_calc; in enic_rq_indicate_buf() local 336 &fcoe, &eop, &sop, &rss_type, &csum_not_calc, in enic_rq_indicate_buf() 368 enic_rq_set_skb_flags(rq, type, rss_hash, rss_type, fcoe, in enic_rq_indicate_buf()
|
| /drivers/scsi/fnic/ |
| A D | cq_enet_desc.h | 83 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()
|
| A D | fnic_fcs.c | 436 u8 csum_not_calc, rss_type, ipv4, ipv6, ipv4_fragment; in fnic_rq_cmpl_frame_recv() local 467 &ingress_port, &fcoe, &eop, &sop, &rss_type, in fnic_rq_cmpl_frame_recv()
|
| /drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
| A 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()
|
| A 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()
|
| /drivers/net/ethernet/intel/ice/ |
| A D | ice_txrx_lib.c | 546 enum xdp_rss_hash_type *rss_type) in ice_xdp_rx_hash() argument 551 *rss_type = ice_xdp_rx_hash_type(xdp_ext->eop_desc); in ice_xdp_rx_hash()
|
| /drivers/net/ethernet/intel/fm10k/ |
| A D | fm10k_main.c | 396 u16 rss_type; in fm10k_rx_hash() local 401 rss_type = le16_to_cpu(rx_desc->w.pkt_info) & FM10K_RXD_RSSTYPE_MASK; in fm10k_rx_hash() 402 if (!rss_type) in fm10k_rx_hash() 406 (BIT(rss_type) & FM10K_RSS_L4_TYPES_MASK) ? in fm10k_rx_hash()
|
| /drivers/net/ethernet/mellanox/mlx5/core/en/ |
| A D | xdp.c | 238 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()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | en_rx.c | 654 enum xdp_rss_hash_type *rss_type) in mlx4_en_xdp_rx_hash() argument 677 *rss_type = xht; in mlx4_en_xdp_rx_hash()
|
| A D | mlx4_en.h | 795 enum xdp_rss_hash_type *rss_type);
|
| /drivers/net/ethernet/wangxun/libwx/ |
| A D | wx_lib.c | 498 u16 rss_type; in wx_rx_hash() local 503 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in wx_rx_hash() 506 if (!rss_type) in wx_rx_hash() 510 (WX_RSS_L4_TYPES_MASK & (1ul << rss_type)) ? in wx_rx_hash()
|
| /drivers/net/ |
| A D | veth.c | 1663 enum xdp_rss_hash_type *rss_type) in veth_xdp_rx_hash() argument 1672 *rss_type = skb->l4_hash ? XDP_RSS_TYPE_L4_ANY : XDP_RSS_TYPE_NONE; in veth_xdp_rx_hash()
|
| A D | virtio_net.c | 6739 enum xdp_rss_hash_type *rss_type) in virtnet_xdp_rx_hash() argument 6756 *rss_type = virtnet_xdp_rss_type[hash_report]; in virtnet_xdp_rx_hash()
|
| /drivers/net/ethernet/intel/ixgbevf/ |
| A D | ixgbevf_main.c | 449 u16 rss_type; in ixgbevf_rx_hash() local 454 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in ixgbevf_rx_hash() 457 if (!rss_type) in ixgbevf_rx_hash() 461 (IXGBE_RSS_L4_TYPES_MASK & (1ul << rss_type)) ? in ixgbevf_rx_hash()
|
| /drivers/net/ethernet/hisilicon/hns3/ |
| A D | hns3_enet.c | 4201 enum pkt_hash_types rss_type = PKT_HASH_TYPE_NONE; in hns3_set_rx_skb_rss_type() local 4209 rss_type = hns3_rx_ptype_tbl[ptype].hash_type; in hns3_set_rx_skb_rss_type() 4221 rss_type = PKT_HASH_TYPE_L4; in hns3_set_rx_skb_rss_type() 4224 rss_type = PKT_HASH_TYPE_L3; in hns3_set_rx_skb_rss_type() 4228 skb_set_hash(skb, rss_hash, rss_type); in hns3_set_rx_skb_rss_type()
|
| /drivers/net/ethernet/intel/igc/ |
| A D | igc_main.c | 1808 u32 rss_type = igc_rss_type(rx_desc); in igc_rx_hash() local 1810 skb_set_hash(skb, rss_hash, igc_rss_type_table[rss_type]); in igc_rx_hash() 7033 enum xdp_rss_hash_type *rss_type) in igc_xdp_rx_hash() argument 7041 *rss_type = igc_xdp_rss_type[igc_rss_type(ctx->rx_desc)]; in igc_xdp_rx_hash()
|
| /drivers/net/ethernet/intel/ixgbe/ |
| A D | ixgbe_main.c | 1639 u16 rss_type; in ixgbe_rx_hash() local 1644 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & in ixgbe_rx_hash() 1647 if (!rss_type) in ixgbe_rx_hash() 1651 (IXGBE_RSS_L4_TYPES_MASK & (1ul << rss_type)) ? in ixgbe_rx_hash()
|