Skip to content
Snippets Groups Projects
  1. Feb 16, 2017
  2. Feb 09, 2017
  3. Jan 30, 2017
  4. Aug 22, 2016
  5. May 20, 2016
    • Alessandro Rubini's avatar
      pfilter: accept unicast ARP frames · 835437ae
      Alessandro Rubini authored
      
      This commit removes the requirement for ARP frames to be broadcast
      in the no-vlan case.  The simplified rule-set of a vlan setup already
      accepts ARP unicast, and no harm is done.
      
      Although we do not make ARP  requests so we won't receive unicast
      replies, hosts do send unicast requests, to refresh an ARP entry
      that is going to expire.
      
      The next commit enacts this feature in software, as a side effect
      of supporting pdelay PTP.
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      835437ae
  6. May 18, 2016
  7. Apr 04, 2016
  8. Feb 15, 2016
  9. Jan 20, 2016
  10. Jan 15, 2016
  11. Oct 13, 2015
    • Alessandro Rubini's avatar
      pfilter: trivial: apply bits from be2bd234 (cleanup of prototypes) · 808ffdd2
      Alessandro Rubini authored
      This just adds "void" in prototypes. I did the pfilter on a different
      branch, and lost these changes of commit be2bd234
      
       wyhile moving pfilter
      generation to tools/
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      808ffdd2
    • Alessandro Rubini's avatar
    • Alessandro Rubini's avatar
      tools/pfilter-builder: completed · d52fdb87
      Alessandro Rubini authored
      
      This changes pfilter-builder.c so it really build in user space, but removing
      register setting and creating output files instead.
      
      Running this program creates 3 files, that correspond to the previous
      three #ifdef conditions.  The files are:
      
            rules-plain.bin    this is used for the no-etherbone configuration
            rules-ebone.bin    etherbone setup
            rules-e+nic.bin    etherbon plus 7solution's wr-nic packet filter
      
      The files begin with a magix 0x11223344 word, that allows the soft-core
      to fix any endianness difference (so no hairy mishaps are expected when
      switching to a different soft-core). Then the 40-bit command words are
      saved as 64-bit vaules, LSB-first. The output file is thus an odd number
      of words and no 64-bit alignment is required.
      
      The first three instructions of the packet filter are used to compare
      the destination mac address of the frame.  We now use a fake mac address,
      and the LM32 code will change it while programming the binary.
      
      Please look at this commit while ignoring white-space, as it changes
      indentation while turning #ifdef/#else into if()/else .
      
      Signed-off-by: default avatarAlessandro Rubini <rubini@gnudd.com>
      d52fdb87