Searched refs:rss_type (Results 1 - 25 of 27) sorted by relevance

12

/linux-master/tools/testing/selftests/bpf/progs/
H A Dxdp_metadata2.c9 enum xdp_rss_hash_type *rss_type) __ksym;
H A Dxdp_hw_metadata.c22 enum xdp_rss_hash_type *rss_type) __ksym;
H A Dxdp_metadata.c25 enum xdp_rss_hash_type *rss_type) __ksym;
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c699 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 Dhinic_dev.h106 struct hinic_rss_type rss_type; member in struct:hinic_dev
H A Dhinic_ethtool.c925 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 Dhinic_main.c325 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 Dhinic_port.h805 struct hinic_rss_type rss_type);
825 struct hinic_rss_type *rss_type);
/linux-master/drivers/net/ethernet/cisco/enic/
H A Dcq_enet_desc.h93 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 Denic_main.c1308 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 Dcq_enet_desc.h83 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 Dfnic_fcs.c836 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 Dhw_atl_a0.c698 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 Dhw_atl_b0.c966 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 Dice_txrx_lib.c585 * @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 Dfm10k_main.c397 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 Dxdp.h471 enum xdp_rss_hash_type *rss_type);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dxdp.c238 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 Dmlx4_en.h804 enum xdp_rss_hash_type *rss_type);
H A Den_rx.c685 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 Dxdp.c721 * @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 Dwx_lib.c503 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 Dveth.c1625 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 Dixgbevf_main.c445 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 Dhns3_enet.c4192 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);

Completed in 273 milliseconds

12