1. 16 2月, 2012 3 次提交
    • B
      sfc: Correct MAC filter bitfield definitions · 055e0ad0
      Ben Hutchings 提交于
      The RMFT_DEST_MAC and TMFT_SRC_MAC register fields were previously
      documented as 44 bits wide, whereas a MAC address has 48 bits.
      Thankfully the hardware uses the correct width and the driver has
      used separate definitions that divide each of these into 32-bit and
      16-bit fields.
      
      Fix the initial definitions for these fields and rewrite the latter
      definitions to use them.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      055e0ad0
    • B
      sfc: Add support for TX MAC filters · 3d885e39
      Ben Hutchings 提交于
      On Siena each TX queue can be configured to send only packets for
      which there is a TX MAC filter that matches the source MAC address,
      queue ID, and optionally VID.  This will be used to implement the
      'spoofchk' feature for SR-IOV virtual functions.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      3d885e39
    • B
      sfc: Add support for configuring RX unicast/multicast default filters · c274d65c
      Ben Hutchings 提交于
      On Siena all received packets that don't match a more specific filter
      will match the unicast or multicast default filter.  Currently we
      leave these set to the default values (RSS with base queue number of
      0).  Allow them to be reconfigured to select a single RX queue.
      
      These default filters are programmed through the FILTER_CTL register,
      but we represent them internally as an additional table of size 2.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      c274d65c
  2. 14 2月, 2012 4 次提交
  3. 08 2月, 2012 6 次提交
  4. 07 2月, 2012 27 次提交