/kernel/linux/linux-5.10/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_port.c | 684 struct hinic_rss_type rss_type) in hinic_set_rss_type() 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() 683 hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, struct hinic_rss_type rss_type) hinic_set_rss_type() argument 743 hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, struct hinic_rss_type *rss_type) hinic_get_rss_type() argument [all...] |
H A 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() 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 in set_l4_rss_hash_ops() 967 set_l4_rss_hash_ops(struct ethtool_rxnfc *cmd, struct hinic_rss_type *rss_type) set_l4_rss_hash_ops() argument 1006 struct hinic_rss_type *rss_type = &nic_dev->rss_type; hinic_set_rss_hash_opts() local [all...] |
H A 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()
|
H A D | hinic_dev.h | 102 struct hinic_rss_type rss_type; member
|
H A D | hinic_port.h | 794 struct hinic_rss_type rss_type); 814 struct hinic_rss_type *rss_type);
|
/kernel/linux/linux-6.6/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_port.c | 699 struct hinic_rss_type rss_type) in hinic_set_rss_type() 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() 698 hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, struct hinic_rss_type rss_type) hinic_set_rss_type() argument 758 hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, struct hinic_rss_type *rss_type) hinic_get_rss_type() argument [all...] |
H A 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() 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 in set_l4_rss_hash_ops() 967 set_l4_rss_hash_ops(struct ethtool_rxnfc *cmd, struct hinic_rss_type *rss_type) set_l4_rss_hash_ops() argument 1006 struct hinic_rss_type *rss_type = &nic_dev->rss_type; hinic_set_rss_hash_opts() local [all...] |
H A D | hinic_main.c | 325 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 D | hinic_dev.h | 106 struct hinic_rss_type rss_type; member
|
H A D | hinic_port.h | 805 struct hinic_rss_type rss_type); 825 struct hinic_rss_type *rss_type);
|
/kernel/linux/linux-5.10/drivers/net/ethernet/cisco/enic/ |
H A D | cq_enet_desc.h | 106 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() 134 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec() 104 cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, u8 *vlan_stripped, u16 *vlan_tci, u16 *checksum, u8 *fcoe_sof, u8 *fcoe_fc_crc_ok, u8 *fcoe_enc_error, u8 *fcoe_eof, u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) cq_enet_rq_desc_dec() argument
|
/kernel/linux/linux-5.10/drivers/scsi/fnic/ |
H A D | cq_enet_desc.h | 95 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() 119 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec() 93 cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, u8 *vlan_stripped, u16 *vlan, u16 *checksum, u8 *fcoe_sof, u8 *fcoe_fc_crc_ok, u8 *fcoe_enc_error, u8 *fcoe_eof, u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) cq_enet_rq_desc_dec() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cisco/enic/ |
H A D | cq_enet_desc.h | 93 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, in cq_enet_rq_desc_dec() 121 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec() 91 cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, u8 *vlan_stripped, u16 *vlan_tci, u16 *checksum, u8 *fcoe_sof, u8 *fcoe_fc_crc_ok, u8 *fcoe_enc_error, u8 *fcoe_eof, u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) cq_enet_rq_desc_dec() argument
|
/kernel/linux/linux-6.6/drivers/scsi/fnic/ |
H 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() 107 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & in cq_enet_rq_desc_dec() 81 cq_enet_rq_desc_dec(struct cq_enet_rq_desc *desc, u8 *type, u8 *color, u16 *q_number, u16 *completed_index, u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, u8 *csum_not_calc, u32 *rss_hash, u16 *bytes_written, u8 *packet_error, u8 *vlan_stripped, u16 *vlan, u16 *checksum, u8 *fcoe_sof, u8 *fcoe_fc_crc_ok, u8 *fcoe_enc_error, u8 *fcoe_eof, u8 *tcp_udp_csum_ok, u8 *udp, u8 *tcp, u8 *ipv4_csum_ok, u8 *ipv6, u8 *ipv4, u8 *ipv4_fragment, u8 *fcs_ok) cq_enet_rq_desc_dec() argument
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/progs/ |
H A D | xdp_metadata2.c | 9 enum xdp_rss_hash_type *rss_type) __ksym;
|
H A D | xdp_metadata.c | 25 enum xdp_rss_hash_type *rss_type) __ksym;
|
H A D | xdp_hw_metadata.c | 22 enum xdp_rss_hash_type *rss_type) __ksym;
|
/kernel/linux/linux-5.10/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H 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()
|
H 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H 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()
|
H 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()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/fm10k/ |
H A 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-6.6/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 397 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()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.c | 238 enum xdp_rss_hash_type *rss_type) in mlx5e_xdp_rx_hash() 254 *rss_type = mlx5_xdp_rss_type[lookup]; in mlx5e_xdp_rx_hash() 237 mlx5e_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) mlx5e_xdp_rx_hash() argument
|
/kernel/linux/linux-6.6/include/net/ |
H A D | xdp.h | 448 enum xdp_rss_hash_type *rss_type);
|