Page MenuHomeFreeBSD

mlx5: Update lower module code
ClosedPublic

Authored by markb_mellanox.com on Dec 6 2015, 8:22 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 19, 3:33 AM
Unknown Object (File)
Sat, Oct 19, 3:31 AM
Unknown Object (File)
Sat, Oct 19, 3:31 AM
Unknown Object (File)
Sat, Oct 19, 3:11 AM
Unknown Object (File)
Sep 24 2024, 4:00 PM
Unknown Object (File)
Sep 19 2024, 12:49 PM
Unknown Object (File)
Sep 18 2024, 4:31 PM
Unknown Object (File)
Sep 17 2024, 6:17 PM
Subscribers

Details

Summary

Add eswitch ACL table management

Introduce API for managing ACL table.
This API include the following features:
    1) vlan filter - for VST/VGT+ support.
    2) spoofcheck.
    3) robust functionality to allow/drop general untagged/tagged traffic.
    3) support for both ingress and egress ACL types.

Add loopback filter to the vacl table.
Add multicast list set in vPort context
Add promiscuous mode set in vPort context

Set vlan list in vPort context

  • Check caps if VLAN list not longer than FW supports
  • Set MODIFY_NIC_VPORT_CONTEXT command

Changed MLX5_EEPROM_MAX_BYTES from 48 to 32

When reading the MCIA register in batches of 48 bytes, the third
reading will by-pass the 127th byte - what means that a part of
the low page and a part of the high page would be read in one reading.
1st: 0-47 bytes
2nd: 48-95 bytes
3rd: 96-144 bytes
What created a bug - some of the bytes were not read correctly.
Changing the MAX_BYTES to 32 prevents this bug, reading would not by-pass
the 127th byte in one reading.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

markb_mellanox.com retitled this revision from to mlx5: Update lower module code.
markb_mellanox.com updated this object.
markb_mellanox.com edited the test plan for this revision. (Show Details)
markb_mellanox.com set the repository for this revision to rS FreeBSD src repository - subversion.
hselasky edited edge metadata.

Will make some build fixes before committing the added eswitch files. Will also update sys/modules/mlx5/Makefile .

This revision is now accepted and ready to land.Dec 7 2015, 12:59 PM
This revision was automatically updated to reflect the committed changes.