/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | xdp_metadata2.c | 9 enum xdp_rss_hash_type *rss_type) __ksym;
|
H A D | xdp_hw_metadata.c | 22 enum xdp_rss_hash_type *rss_type) __ksym;
|
H A D | xdp_metadata.c | 25 enum xdp_rss_hash_type *rss_type) __ksym;
|
/linux-master/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_port.c | 699 struct hinic_rss_type rss_type) 723 HINIC_RSS_TYPE_SET(rss_type.ipv4, IPV4) | 724 HINIC_RSS_TYPE_SET(rss_type.ipv6, IPV6) | 725 HINIC_RSS_TYPE_SET(rss_type.ipv6_ext, IPV6_EXT) | 726 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv4, TCP_IPV4) | 727 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6, TCP_IPV6) | 728 HINIC_RSS_TYPE_SET(rss_type.tcp_ipv6_ext, TCP_IPV6_EXT) | 729 HINIC_RSS_TYPE_SET(rss_type.udp_ipv4, UDP_IPV4) | 730 HINIC_RSS_TYPE_SET(rss_type.udp_ipv6, UDP_IPV6); 759 struct hinic_rss_type *rss_type) 698 hinic_set_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, struct hinic_rss_type rss_type) argument 758 hinic_get_rss_type(struct hinic_dev *nic_dev, u32 tmpl_idx, struct hinic_rss_type *rss_type) argument [all...] |
H A D | hinic_dev.h | 106 struct hinic_rss_type rss_type; member in struct:hinic_dev
|
H A D | hinic_ethtool.c | 925 struct hinic_rss_type rss_type = { 0 }; local 934 &rss_type); 941 if (rss_type.tcp_ipv4) 945 if (rss_type.tcp_ipv6) 949 if (rss_type.udp_ipv4) 953 if (rss_type.udp_ipv6) 968 struct hinic_rss_type *rss_type) 985 rss_type->tcp_ipv4 = rss_l4_en; 988 rss_type->tcp_ipv6 = rss_l4_en; 991 rss_type 967 set_l4_rss_hash_ops(struct ethtool_rxnfc *cmd, struct hinic_rss_type *rss_type) argument 1006 struct hinic_rss_type *rss_type = &nic_dev->rss_type; local [all...] |
H A D | hinic_main.c | 325 err = hinic_set_rss_type(nic_dev, tmpl_idx, nic_dev->rss_type); 351 nic_dev->rss_type.tcp_ipv6_ext = 1; 352 nic_dev->rss_type.ipv6_ext = 1; 353 nic_dev->rss_type.tcp_ipv6 = 1; 354 nic_dev->rss_type.ipv6 = 1; 355 nic_dev->rss_type.tcp_ipv4 = 1; 356 nic_dev->rss_type.ipv4 = 1; 357 nic_dev->rss_type.udp_ipv6 = 1; 358 nic_dev->rss_type.udp_ipv4 = 1;
|
H A D | hinic_port.h | 805 struct hinic_rss_type rss_type); 825 struct hinic_rss_type *rss_type);
|
/linux-master/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, 121 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & 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) argument
|
H A D | enic_main.c | 1308 u8 ipv6, ipv4, ipv4_fragment, fcs_ok, rss_type, csum_not_calc; local 1321 &ingress_port, &fcoe, &eop, &sop, &rss_type, 1363 switch (rss_type) {
|
/linux-master/drivers/scsi/fnic/ |
H A D | cq_enet_desc.h | 83 u8 *ingress_port, u8 *fcoe, u8 *eop, u8 *sop, u8 *rss_type, 107 *rss_type = (u8)((q_number_rss_type_flags >> CQ_DESC_Q_NUM_BITS) & 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) argument
|
H A D | fnic_fcs.c | 836 u8 ipv6, ipv4, ipv4_fragment, rss_type, csum_not_calc; local 869 &rss_type, &csum_not_calc, &rss_hash,
|
/linux-master/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
H A D | hw_atl_a0.c | 698 u16 rss_type = rxd_wb->type & 0xFU; local 700 if (rss_type && rss_type < 0x8U) { 701 buff->is_hash_l4 = (rss_type == 0x4 || 702 rss_type == 0x5);
|
H A D | hw_atl_b0.c | 966 u16 rss_type = rxd_wb->type & 0xFU; local 968 if (rss_type && rss_type < 0x8U) { 969 buff->is_hash_l4 = (rss_type == 0x4 || 970 rss_type == 0x5);
|
/linux-master/drivers/net/ethernet/intel/ice/ |
H A D | ice_txrx_lib.c | 585 * @rss_type: XDP hash type destination address 590 enum xdp_rss_hash_type *rss_type) 595 *rss_type = ice_xdp_rx_hash_type(xdp_ext->eop_desc); 589 ice_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) argument
|
/linux-master/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_main.c | 397 u16 rss_type; local 402 rss_type = le16_to_cpu(rx_desc->w.pkt_info) & FM10K_RXD_RSSTYPE_MASK; 403 if (!rss_type) 407 (BIT(rss_type) & FM10K_RSS_L4_TYPES_MASK) ?
|
/linux-master/include/net/ |
H A D | xdp.h | 471 enum xdp_rss_hash_type *rss_type);
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | xdp.c | 238 enum xdp_rss_hash_type *rss_type) 254 *rss_type = mlx5_xdp_rss_type[lookup]; 237 mlx5e_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mlx4_en.h | 804 enum xdp_rss_hash_type *rss_type);
|
H A D | en_rx.c | 685 enum xdp_rss_hash_type *rss_type) 708 *rss_type = xht; 684 mlx4_en_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) argument
|
/linux-master/net/core/ |
H A D | xdp.c | 721 * @rss_type: Return value pointer for RSS type. 723 * The RSS hash type (@rss_type) specifies what portion of packet headers NIC 735 enum xdp_rss_hash_type *rss_type) 734 bpf_xdp_metadata_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) argument
|
/linux-master/drivers/net/ethernet/wangxun/libwx/ |
H A D | wx_lib.c | 503 u16 rss_type; local 508 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & 511 if (!rss_type) 515 (WX_RSS_L4_TYPES_MASK & (1ul << rss_type)) ?
|
/linux-master/drivers/net/ |
H A D | veth.c | 1625 enum xdp_rss_hash_type *rss_type) 1634 *rss_type = skb->l4_hash ? XDP_RSS_TYPE_L4_ANY : XDP_RSS_TYPE_NONE; 1624 veth_xdp_rx_hash(const struct xdp_md *ctx, u32 *hash, enum xdp_rss_hash_type *rss_type) argument
|
/linux-master/drivers/net/ethernet/intel/ixgbevf/ |
H A D | ixgbevf_main.c | 445 u16 rss_type; local 450 rss_type = le16_to_cpu(rx_desc->wb.lower.lo_dword.hs_rss.pkt_info) & 453 if (!rss_type) 457 (IXGBE_RSS_L4_TYPES_MASK & (1ul << rss_type)) ?
|
/linux-master/drivers/net/ethernet/hisilicon/hns3/ |
H A D | hns3_enet.c | 4192 enum pkt_hash_types rss_type = PKT_HASH_TYPE_NONE; local 4200 rss_type = hns3_rx_ptype_tbl[ptype].hash_type; 4212 rss_type = PKT_HASH_TYPE_L4; 4215 rss_type = PKT_HASH_TYPE_L3; 4219 skb_set_hash(skb, rss_hash, rss_type);
|