Lines Matching refs:ethtool_rx_flow_spec
15 static void invert_flow_mask(struct ethtool_rx_flow_spec *fsp) in invert_flow_mask()
61 static void rxclass_print_nfc_spec_ext(struct ethtool_rx_flow_spec *fsp) in rxclass_print_nfc_spec_ext()
97 static void rxclass_print_nfc_rule(struct ethtool_rx_flow_spec *fsp, in rxclass_print_nfc_rule()
278 static void rxclass_print_rule(struct ethtool_rx_flow_spec *fsp, in rxclass_print_rule()
334 memset(&nfccmd.fs, 0, sizeof(struct ethtool_rx_flow_spec)); in rxclass_rule_get()
424 struct ethtool_rx_flow_spec *fsp) in rmgr_find_empty_slot()
552 struct ethtool_rx_flow_spec *fsp) in rmgr_set_location()
573 struct ethtool_rx_flow_spec *fsp, __u32 rss_context) in rxclass_rule_ins()
660 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.ip4src),
661 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.ip4src) },
663 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.ip4dst),
664 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.ip4dst) },
666 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.tos),
667 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.tos) },
669 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.psrc),
670 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.psrc) },
672 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip4_spec.pdst),
673 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip4_spec.pdst) },
675 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
677 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
679 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
681 offsetof(struct ethtool_rx_flow_spec, location), -1 },
683 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_etype),
684 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_etype) },
686 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_tci),
687 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_tci) },
689 offsetof(struct ethtool_rx_flow_spec, h_ext.data),
690 offsetof(struct ethtool_rx_flow_spec, m_ext.data) },
692 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
693 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
698 offsetof(struct ethtool_rx_flow_spec, h_u.esp_ip4_spec.ip4src),
699 offsetof(struct ethtool_rx_flow_spec, m_u.esp_ip4_spec.ip4src) },
701 offsetof(struct ethtool_rx_flow_spec, h_u.esp_ip4_spec.ip4dst),
702 offsetof(struct ethtool_rx_flow_spec, m_u.esp_ip4_spec.ip4dst) },
704 offsetof(struct ethtool_rx_flow_spec, h_u.esp_ip4_spec.tos),
705 offsetof(struct ethtool_rx_flow_spec, m_u.esp_ip4_spec.tos) },
707 offsetof(struct ethtool_rx_flow_spec, h_u.esp_ip4_spec.spi),
708 offsetof(struct ethtool_rx_flow_spec, m_u.esp_ip4_spec.spi) },
710 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
712 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
714 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
716 offsetof(struct ethtool_rx_flow_spec, location), -1 },
718 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_etype),
719 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_etype) },
721 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_tci),
722 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_tci) },
724 offsetof(struct ethtool_rx_flow_spec, h_ext.data),
725 offsetof(struct ethtool_rx_flow_spec, m_ext.data) },
727 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
728 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
733 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip4_spec.ip4src),
734 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip4_spec.ip4src) },
736 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip4_spec.ip4dst),
737 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip4_spec.ip4dst) },
739 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip4_spec.tos),
740 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip4_spec.tos) },
742 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip4_spec.proto),
743 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip4_spec.proto) },
745 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip4_spec.l4_4_bytes),
746 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip4_spec.l4_4_bytes) },
748 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip4_spec.l4_4_bytes),
749 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip4_spec.l4_4_bytes) },
751 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip4_spec.l4_4_bytes),
752 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip4_spec.l4_4_bytes) },
754 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip4_spec.l4_4_bytes) + 2,
755 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip4_spec.l4_4_bytes) + 2 },
757 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
759 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
761 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
763 offsetof(struct ethtool_rx_flow_spec, location), -1 },
765 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_etype),
766 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_etype) },
768 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_tci),
769 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_tci) },
771 offsetof(struct ethtool_rx_flow_spec, h_ext.data),
772 offsetof(struct ethtool_rx_flow_spec, m_ext.data) },
774 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
775 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
780 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip6_spec.ip6src),
781 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip6_spec.ip6src) },
783 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip6_spec.ip6dst),
784 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip6_spec.ip6dst) },
786 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip6_spec.tclass),
787 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip6_spec.tclass) },
789 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip6_spec.psrc),
790 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip6_spec.psrc) },
792 offsetof(struct ethtool_rx_flow_spec, h_u.tcp_ip6_spec.pdst),
793 offsetof(struct ethtool_rx_flow_spec, m_u.tcp_ip6_spec.pdst) },
795 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
797 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
799 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
801 offsetof(struct ethtool_rx_flow_spec, location), -1 },
803 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_etype),
804 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_etype) },
806 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_tci),
807 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_tci) },
809 offsetof(struct ethtool_rx_flow_spec, h_ext.data),
810 offsetof(struct ethtool_rx_flow_spec, m_ext.data) },
812 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
813 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
818 offsetof(struct ethtool_rx_flow_spec, h_u.esp_ip6_spec.ip6src),
819 offsetof(struct ethtool_rx_flow_spec, m_u.esp_ip6_spec.ip6src) },
821 offsetof(struct ethtool_rx_flow_spec, h_u.esp_ip6_spec.ip6dst),
822 offsetof(struct ethtool_rx_flow_spec, m_u.esp_ip6_spec.ip6dst) },
824 offsetof(struct ethtool_rx_flow_spec, h_u.esp_ip6_spec.tclass),
825 offsetof(struct ethtool_rx_flow_spec, m_u.esp_ip6_spec.tclass) },
827 offsetof(struct ethtool_rx_flow_spec, h_u.esp_ip6_spec.spi),
828 offsetof(struct ethtool_rx_flow_spec, m_u.esp_ip6_spec.spi) },
830 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
832 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
834 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
836 offsetof(struct ethtool_rx_flow_spec, location), -1 },
838 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_etype),
839 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_etype) },
841 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_tci),
842 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_tci) },
844 offsetof(struct ethtool_rx_flow_spec, h_ext.data),
845 offsetof(struct ethtool_rx_flow_spec, m_ext.data) },
847 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
848 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
853 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip6_spec.ip6src),
854 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip6_spec.ip6src) },
856 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip6_spec.ip6dst),
857 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip6_spec.ip6dst) },
859 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip6_spec.tclass),
860 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip6_spec.tclass) },
862 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip6_spec.l4_proto),
863 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip6_spec.l4_proto) },
865 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip6_spec.l4_4_bytes),
866 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip6_spec.l4_4_bytes) },
868 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip6_spec.l4_4_bytes),
869 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip6_spec.l4_4_bytes) },
871 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip6_spec.l4_4_bytes),
872 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip6_spec.l4_4_bytes) },
874 offsetof(struct ethtool_rx_flow_spec, h_u.usr_ip6_spec.l4_4_bytes) + 2,
875 offsetof(struct ethtool_rx_flow_spec, m_u.usr_ip6_spec.l4_4_bytes) + 2 },
877 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
879 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
881 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
883 offsetof(struct ethtool_rx_flow_spec, location), -1 },
885 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_etype),
886 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_etype) },
888 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_tci),
889 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_tci) },
891 offsetof(struct ethtool_rx_flow_spec, h_ext.data),
892 offsetof(struct ethtool_rx_flow_spec, m_ext.data) },
894 offsetof(struct ethtool_rx_flow_spec, h_ext.h_dest),
895 offsetof(struct ethtool_rx_flow_spec, m_ext.h_dest) },
900 offsetof(struct ethtool_rx_flow_spec, h_u.ether_spec.h_source),
901 offsetof(struct ethtool_rx_flow_spec, m_u.ether_spec.h_source) },
903 offsetof(struct ethtool_rx_flow_spec, h_u.ether_spec.h_dest),
904 offsetof(struct ethtool_rx_flow_spec, m_u.ether_spec.h_dest) },
906 offsetof(struct ethtool_rx_flow_spec, h_u.ether_spec.h_proto),
907 offsetof(struct ethtool_rx_flow_spec, m_u.ether_spec.h_proto) },
909 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
911 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
913 offsetof(struct ethtool_rx_flow_spec, ring_cookie), -1 },
915 offsetof(struct ethtool_rx_flow_spec, location), -1 },
917 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_etype),
918 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_etype) },
920 offsetof(struct ethtool_rx_flow_spec, h_ext.vlan_tci),
921 offsetof(struct ethtool_rx_flow_spec, m_ext.vlan_tci) },
923 offsetof(struct ethtool_rx_flow_spec, h_ext.data),
924 offsetof(struct ethtool_rx_flow_spec, m_ext.data) },
1265 struct ethtool_rx_flow_spec *fsp, __u32 *rss_context) in rxclass_parse_ruleopts()