Home
last modified time | relevance | path

Searched refs:efx_filter_spec (Results 1 – 20 of 20) sorted by relevance

/drivers/net/ethernet/sfc/
A Dfilter.h153 struct efx_filter_spec { struct
178 static inline void efx_filter_init_rx(struct efx_filter_spec *spec, in efx_filter_init_rx() argument
190 static inline void efx_filter_init_tx(struct efx_filter_spec *spec, in efx_filter_init_tx()
207 efx_filter_set_ipv4_local(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv4_local()
228 efx_filter_set_ipv6_local(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv6_local()
251 efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv4_full()
278 static inline int efx_filter_set_eth_local(struct efx_filter_spec *spec, in efx_filter_set_eth_local()
299 static inline int efx_filter_set_uc_def(struct efx_filter_spec *spec) in efx_filter_set_uc_def()
309 static inline int efx_filter_set_mc_def(struct efx_filter_spec *spec) in efx_filter_set_mc_def()
321 static inline void efx_filter_set_vport_id(struct efx_filter_spec *spec, in efx_filter_set_vport_id()
[all …]
A Drx_common.h91 bool efx_filter_is_mc_recipient(const struct efx_filter_spec *spec);
92 bool efx_filter_spec_equal(const struct efx_filter_spec *left,
93 const struct efx_filter_spec *right);
94 u32 efx_filter_spec_hash(const struct efx_filter_spec *spec);
100 const struct efx_filter_spec *spec);
102 const struct efx_filter_spec *spec,
104 void efx_rps_hash_del(struct efx_nic *efx, const struct efx_filter_spec *spec);
A Drx_common.c615 bool efx_filter_spec_equal(const struct efx_filter_spec *left, in efx_filter_spec_equal()
616 const struct efx_filter_spec *right) in efx_filter_spec_equal()
624 sizeof(struct efx_filter_spec) - in efx_filter_spec_equal()
625 offsetof(struct efx_filter_spec, vport_id)) == 0; in efx_filter_spec_equal()
628 u32 efx_filter_spec_hash(const struct efx_filter_spec *spec) in efx_filter_spec_hash()
630 BUILD_BUG_ON(offsetof(struct efx_filter_spec, vport_id) & 3); in efx_filter_spec_hash()
632 (sizeof(struct efx_filter_spec) - in efx_filter_spec_hash()
633 offsetof(struct efx_filter_spec, vport_id)) / 4, in efx_filter_spec_hash()
666 const struct efx_filter_spec *spec) in efx_rps_hash_bucket()
677 const struct efx_filter_spec *spec) in efx_rps_hash_find()
[all …]
A Dmcdi_filters.c26 static struct efx_filter_spec *
86 const struct efx_filter_spec *spec, in efx_mcdi_filter_set_entry()
94 const struct efx_filter_spec *spec, in efx_mcdi_filter_push_prep_set_match_fields()
344 struct efx_filter_spec *spec, in efx_mcdi_filter_insert_locked()
350 struct efx_filter_spec *saved_spec; in efx_mcdi_filter_insert_locked()
585 struct efx_filter_spec *spec; in efx_mcdi_filter_remove_internal()
750 struct efx_filter_spec spec; in efx_mcdi_filter_insert_addr_list()
831 struct efx_filter_spec spec; in efx_mcdi_filter_insert_def()
1150 struct efx_filter_spec *spec; in efx_mcdi_filter_get_rx_ids()
1379 struct efx_filter_spec *spec; in efx_mcdi_filter_table_restore()
[all …]
A Dmcdi_filters.h123 s32 efx_mcdi_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec,
130 u32 filter_id, struct efx_filter_spec *spec);
A Defx.h104 struct efx_filter_spec *spec, in efx_filter_insert_filter()
139 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe()
A Dnet_driver.h820 struct efx_filter_spec spec;
841 struct efx_filter_spec spec;
1483 struct efx_filter_spec *spec, bool replace);
1489 u32 filter_id, struct efx_filter_spec *);
A Dptp.c1209 efx_ptp_find_filter(struct list_head *filter_list, struct efx_filter_spec *spec) in efx_ptp_find_filter()
1242 struct efx_filter_spec *rxfilter) in efx_ptp_init_filter()
1253 struct efx_filter_spec *spec, in efx_ptp_insert_filter()
1296 struct efx_filter_spec spec; in efx_ptp_insert_ipv4_filter()
1308 struct efx_filter_spec spec; in efx_ptp_insert_ipv6_filter()
1318 struct efx_filter_spec spec; in efx_ptp_insert_eth_multicast_filter()
A Dethtool_common.c651 struct efx_filter_spec spec; in efx_ethtool_get_class_rule()
926 struct efx_filter_spec spec; in efx_ethtool_set_class_rule()
A Dtc.c2818 struct efx_filter_spec promisc, allmulti; in efx_tc_insert_rep_filters()
/drivers/net/ethernet/sfc/siena/
A Dfilter.h154 struct efx_filter_spec { struct
178 static inline void efx_filter_init_rx(struct efx_filter_spec *spec, in efx_filter_init_rx() argument
190 static inline void efx_filter_init_tx(struct efx_filter_spec *spec, in efx_filter_init_tx()
207 efx_filter_set_ipv4_local(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv4_local()
230 efx_filter_set_ipv4_full(struct efx_filter_spec *spec, u8 proto, in efx_filter_set_ipv4_full()
257 static inline int efx_filter_set_eth_local(struct efx_filter_spec *spec, in efx_filter_set_eth_local()
278 static inline int efx_filter_set_uc_def(struct efx_filter_spec *spec) in efx_filter_set_uc_def()
288 static inline int efx_filter_set_mc_def(struct efx_filter_spec *spec) in efx_filter_set_mc_def()
295 static inline void efx_filter_set_encap_type(struct efx_filter_spec *spec, in efx_filter_set_encap_type()
303 const struct efx_filter_spec *spec) in efx_filter_get_encap_type()
A Drx_common.h84 bool efx_siena_filter_is_mc_recipient(const struct efx_filter_spec *spec);
85 bool efx_siena_filter_spec_equal(const struct efx_filter_spec *left,
86 const struct efx_filter_spec *right);
87 u32 efx_siena_filter_spec_hash(const struct efx_filter_spec *spec);
93 const struct efx_filter_spec *spec);
95 const struct efx_filter_spec *spec);
A Drx_common.c603 const struct efx_filter_spec *right) in efx_siena_filter_spec_equal()
611 sizeof(struct efx_filter_spec) - in efx_siena_filter_spec_equal()
612 offsetof(struct efx_filter_spec, outer_vid)) == 0; in efx_siena_filter_spec_equal()
615 u32 efx_siena_filter_spec_hash(const struct efx_filter_spec *spec) in efx_siena_filter_spec_hash()
617 BUILD_BUG_ON(offsetof(struct efx_filter_spec, outer_vid) & 3); in efx_siena_filter_spec_hash()
619 (sizeof(struct efx_filter_spec) - in efx_siena_filter_spec_hash()
620 offsetof(struct efx_filter_spec, outer_vid)) / 4, in efx_siena_filter_spec_hash()
653 const struct efx_filter_spec *spec) in efx_rps_hash_bucket()
664 const struct efx_filter_spec *spec) in efx_siena_rps_hash_find()
682 const struct efx_filter_spec *spec, in efx_rps_hash_add()
[all …]
A Defx.h88 struct efx_filter_spec *spec, in efx_filter_insert_filter()
123 u32 filter_id, struct efx_filter_spec *spec) in efx_filter_get_filter_safe()
A Dnic.h150 s32 efx_farch_filter_insert(struct efx_nic *efx, struct efx_filter_spec *spec,
157 struct efx_filter_spec *);
A Dnet_driver.h742 struct efx_filter_spec spec;
763 struct efx_filter_spec spec;
1375 struct efx_filter_spec *spec, bool replace);
1381 u32 filter_id, struct efx_filter_spec *);
A Dfarch.c2034 const struct efx_filter_spec *gen_spec) in efx_farch_filter_from_gen_spec()
2129 efx_farch_filter_to_gen_spec(struct efx_filter_spec *gen_spec, in efx_farch_filter_to_gen_spec()
2388 struct efx_filter_spec *gen_spec, in efx_farch_filter_insert()
2619 u32 filter_id, struct efx_filter_spec *spec_buf) in efx_farch_filter_get_safe()
2917 struct efx_filter_spec spec; in efx_farch_filter_rfs_expire_one()
A Dethtool_common.c652 struct efx_filter_spec spec; in efx_ethtool_get_class_rule()
917 struct efx_filter_spec spec; in efx_ethtool_set_class_rule()
A Dsiena_sriov.c305 struct efx_filter_spec filter; in efx_siena_sriov_reset_tx_filter()
349 struct efx_filter_spec filter; in efx_siena_sriov_reset_rx_filter()
A Dptp.c1276 struct efx_filter_spec rxfilter; in efx_ptp_insert_multicast_filters()

Completed in 66 milliseconds