diff options
| author | Amit Cohen <[email protected]> | 2022-06-27 07:06:18 +0000 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2022-06-28 12:31:36 +0000 |
| commit | a3a7992bc4e42633c34ab6a7623fd502e76146ed (patch) | |
| tree | acf9af395ac020947c4c9c2c42f7dbc56784340a /net/unix/sysctl_net_unix.c | |
| parent | mlxsw: Add a dedicated structure for bitmap of ports (diff) | |
| download | kernel-a3a7992bc4e42633c34ab6a7623fd502e76146ed.tar.gz kernel-a3a7992bc4e42633c34ab6a7623fd502e76146ed.zip | |
mlxsw: Extend PGT APIs to support maintaining list of ports per entry
Add an API to associate a PGT entry with SMPE index and add or remove a
port. This API will be used by FID code and MDB code, to add/remove port
from specific PGT entry.
When the first port is added to PGT entry, allocate the entry in the given
MID index, when the last port is removed from PGT entry, free it.
Signed-off-by: Amit Cohen <[email protected]>
Signed-off-by: Ido Schimmel <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions
