diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-01-03 12:05:15 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-01-04 14:09:11 -0500 |
commit | b1f9284b4e6e5f7a44d6af3e111b33e61b261f26 (patch) | |
tree | 8157511c668b135babc99ed155fdf649d570d7fe /drivers/net/ethernet/sfc/filter.h | |
parent | 55664f324c2a1a6386dc88492c5c94aa3d336b93 (diff) |
sfc: Change filter ID generation to satisfy priority semantics of RX NFC
Also add note that the efx_filter_spec::priority field has nothing
to do with priority between multiple matching filters.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/sfc/filter.h')
-rw-r--r-- | drivers/net/ethernet/sfc/filter.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/ethernet/sfc/filter.h b/drivers/net/ethernet/sfc/filter.h index 872f2132a496..dc9a256831d1 100644 --- a/drivers/net/ethernet/sfc/filter.h +++ b/drivers/net/ethernet/sfc/filter.h @@ -78,6 +78,11 @@ enum efx_filter_flags { * * Use the efx_filter_set_*() functions to initialise the @type and * @data fields. + * + * The @priority field is used by software to determine whether a new + * filter may replace an old one. The hardware priority of a filter + * depends on the filter type and %EFX_FILTER_FLAG_RX_OVERRIDE_IP + * flag. */ struct efx_filter_spec { u8 type:4; |